-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
helm needs socat on the nodes of the k8s cluster #966
Comments
That's not so much a Helm problem, as a Kubernetes problem (https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/dockertools/docker_manager.go#L1167) Personally I ended up bootstrapping all of our CoreOs nodes with socat in /opt/bin and adding /opt/bin to kubelet service PATH environment variable with a systemd drop-in. |
Yeah, I think we are going to have to bump this up to the CoreOS/Kubernetes level. However, I'm leaving the issue open here while we track what's going on upstream. |
Yes, I did not mean to say it was a Helm problem. But we as Helm are assuming that k8s cluster nodes will have socat...which may not be true. Honestly I think protobuf is cool, but for exposing API outside k8s it makes things a bit tricky. |
@maratoid where did you get the |
@maratoid this is what I was testing with helm v2, |
FWIW, in Slack, dhilipkumars hit this issue when running Kubernetes on Ubuntu locally. The fix was to export |
CoreOS doesn't ship socat but the container that the kubelet runs in has |
cc @pbx0 @aaronlevy @derekparker |
@philips if kubernetes e.g. is run via go binaries then kubectl port-forward and helm v2 install chart do not work |
@philips the issue I faced was the following. I have a coreOS k8s cluster with coreOS 899. |
@rimusz OK, CoreOS Linux won't support this setup because kubelet has a number of dependencies that aren't. Please run kubelet in a container. @Runseb I am able to successfully use helm v2.0.0-alpha.4 with CoreOS Linux and Kubernetes v1.4-beta0:
|
@philips which version of coreOS ? |
@Runseb alpha using the hyperkube kubelet container |
@Runseb CoreOS 1153.0.0 to be precise |
thanks, I will try that one |
sorry for the delay. Indeed running the kubelet with the wrapper solves this. tested under coreOS stable 1122 and helm from HEAD. thx @philips I am closing this. |
The documentation for the kubelet makes it seem like running the kubelet in a docker container is not a good idea for production.
http://kubernetes.io/docs/admin/kubelet/ Is the kubelet production ready? |
If you don't want to run kubelet in a container you may install socat in /opt/bin/ and add it to the PATH of the kubelet systemd.unit
|
I use @mattthias approach too |
I was testing helm on ubuntu VM and faced same issue and resolved after installing socat and nsenter for socat install use: for nsenter install use : |
But cluster nodes, may not have socat installed by default.
For instance coreOS stable does not ship socat:
coreos/bugs#1114
This is a problem since helm use a port-forwarding technique to connect to tiller.
ps: there might be the same issue with nsenter
The text was updated successfully, but these errors were encountered: