-
Notifications
You must be signed in to change notification settings - Fork 386
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
Use unix socket for etcd listen address #104
Comments
Seems there's some missing bits and pieces in etcd side to really be able to use unix sockets: etcd-io/etcd#11747 Let's move this bit further and re-visit once things are better supported in upstream etcd. |
Hm, but based on the code, it's already listens on 127.0.0.1 only?
|
yes, but our intention is to make it listen only a unix socket. need to update the issue title... :) |
should we have it for current (0.6.0) milestone? It seems to be blocked on the issue in the etcd repo which has no activity for a while. I ping the original author of the etcd issue if he is going to reiterate on the PR but now we can't really do anything in the mke. |
Seems the upstream PR is still blocked, moving forward |
because the upstream PR seem to be stale, I opened etcd-io/etcd#12469 |
Will I still be able to force listening on an IP address? For example if I need to port forward the etcd port using SSH for remote diagnose with the etcd cli then this could come handy to have etcd listening an IP address instead of a UNIX socket. |
Probably not. We really want to "hide" etcd from external access for security reasons of course.
AFAIK you can do the same for unix sockets. Something like |
Bumbed to next milestone as we're still waiting for the upstream PR to land... |
Still waiting on upstream, removing from milestone |
looks like upstream PR requests some changes (add more tests) |
The issue is marked as stale since no activity has been recorded in 30 days |
The issue is marked as stale since no activity has been recorded in 30 days |
No need to listen on external address, each api server can connect to local etcd only. We can use local unix sockets too if that works for both etcd and api-server. (it should but there's a history of issues related)
The text was updated successfully, but these errors were encountered: