Merge pull request #8109 from heyitsanthony/faq-initial-peers

Documentation: update FAQ with entry about changing peer advertising
release-3.3
Anthony Romano 2017-06-15 16:01:19 -07:00 committed by GitHub
commit 703893f334
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@
`advertise-urls` specifies the addresses etcd clients or other etcd members should use to contact the etcd server. The advertise addresses must be reachable from the remote machines. Do not advertise addresses like `localhost` or `0.0.0.0` for a production setup since these addresses are unreachable from remote machines.
#### Why doesn't changing `--listen-peer-urls` or `--initial-advertise-peer-urls` update the advertised peer URLs in `etcdctl member list`?
A member's advertised peer URLs come from `--initial-advertise-peer-urls` on initial cluster boot. Changing the listen peer URLs or the initial advertise peers after booting the member won't affect the exported advertise peer URLs since changes must go through quorum to avoid membership configuration split brain. Use `etcdctl member update` to update a member's peer URLs.
### Deployment
#### System requirements