-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add HA etcd sample #36
Conversation
@alaypatel07 we would like create a HA deployment of etcd to aid us with observing ocp migrations and teasing out issues. Do you have any suggestions for improving this example to make it a better representation of an ha etcd deployment? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jwmatthews @alexander-demichev Overall looks good. Added few NITs for running it in ha
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexander-demichev Please find the requested changes in comments above
--listen-peer-urls http://0.0.0.0:2380 \ | ||
--listen-client-urls http://0.0.0.0:2379 \ | ||
--advertise-client-urls http://${HOSTNAME}.etcd:2379 \ | ||
--initial-advertise-peer-urls http://${HOSTNAME}:2380 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be --initial-advertise-peer-urls http://${HOSTNAME}.etcd:2380 \
a56cea8
to
0ccd0c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
3 node HA etcd sample