{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5108","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5108/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5108/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5108/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/5108","id":60027270,"number":5108,"title":"kubelet --docker_endpoint argument ignored","user":{"login":"Symmetric","id":1524910,"avatar_url":"https://avatars.githubusercontent.com/u/1524910?v=3","gravatar_id":"","url":"https://api.github.com/users/Symmetric","html_url":"https://github.com/Symmetric","followers_url":"https://api.github.com/users/Symmetric/followers","following_url":"https://api.github.com/users/Symmetric/following{/other_user}","gists_url":"https://api.github.com/users/Symmetric/gists{/gist_id}","starred_url":"https://api.github.com/users/Symmetric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Symmetric/subscriptions","organizations_url":"https://api.github.com/users/Symmetric/orgs","repos_url":"https://api.github.com/users/Symmetric/repos","events_url":"https://api.github.com/users/Symmetric/events{/privacy}","received_events_url":"https://api.github.com/users/Symmetric/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/kind/bug","name":"kind/bug","color":"ff0000"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/priority/P2","name":"priority/P2","color":"fbca04"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/team/node","name":"team/node","color":"d2b48c"}],"state":"open","locked":false,"assignee":{"login":"vmarmol","id":985208,"avatar_url":"https://avatars.githubusercontent.com/u/985208?v=3","gravatar_id":"","url":"https://api.github.com/users/vmarmol","html_url":"https://github.com/vmarmol","followers_url":"https://api.github.com/users/vmarmol/followers","following_url":"https://api.github.com/users/vmarmol/following{/other_user}","gists_url":"https://api.github.com/users/vmarmol/gists{/gist_id}","starred_url":"https://api.github.com/users/vmarmol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmarmol/subscriptions","organizations_url":"https://api.github.com/users/vmarmol/orgs","repos_url":"https://api.github.com/users/vmarmol/repos","events_url":"https://api.github.com/users/vmarmol/events{/privacy}","received_events_url":"https://api.github.com/users/vmarmol/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-03-05T22:31:57Z","updated_at":"2015-03-10T03:35:29Z","closed_at":null,"body":"I'm trying to get my kubelet to talk to Docker through Powerstrip, and to do that I need kubelet to send all docker API requests to a specific tcp port on localhost.\r\n\r\nDigging through the code, I've found the --docker_endpoint option on the kubelet binary. I've tried setting that, but kubelet is ignoring it when creating pods; requests still hit the default unix:// socket. (I'm verifying this by running socat at /var/run/docker.sock, in addition to logging any requests that hit my http server).\r\n\r\nLooking at the kubelet logs, I do see the \"Connecting to docker on tcp://127.0.0.1:2377\" log made by GetDockerEndpoint (in util/node.go), so my overridden endpoint config does appear to be making it into the running kubelet.\r\n\r\n[Here's](https://gist.github.com/Symmetric/0365560984b32d6ca8b8) a gist with my kubelet log output (from `journalctl -u kubelet`). The pod I'm starting is \"demo-busybox\".\r\n\r\nIs this flag expected to work? `kubelet --help` doesn't mention any other requirements for setting the docker_endpoint, and my reading of the code suggests that this flag should work."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/77990451","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/5108#issuecomment-77990451","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/5108","id":77990451,"user":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T03:35:29Z","updated_at":"2015-03-10T03:35:29Z","body":"I think this is something we should fix for 1.0 - without it, people can not customize their nodes fully (e.g. power strip)."}}