-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Update single-to-multi-master.md #4359
Update single-to-multi-master.md #4359
Conversation
/assign @justinsb |
Thanks for the contribution @jeyglk! These look like some solid updates to me. |
docs/single-to-multi-master.md
Outdated
@@ -10,6 +10,8 @@ Please follow all the backup steps before attempting it. Please read the | |||
[etcd admin guide](https://github.com/coreos/etcd/blob/v2.2.1/Documentation/admin_guide.md) | |||
before attempting it. | |||
|
|||
We can migrate from a single-master cluster to a multi-master cluster, but this is a complicated operation. It is easier to create a multi-master cruster using Kops (described [here](https://github.com/kubernetes/kops/blob/master/docs/high_availability.md)). If possible, try to plan this at time of cluster creation. |
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.
You have a typo here "cruster" should be "cluster"
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.
oops, thanks, corrected
547fadf
to
d00de67
Compare
/lgtm cancel //PR changed after LGTM, removing LGTM. @jeyglk @justinsb @mikesplain |
Good eye @gzzo. Thanks! |
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.
Yay docs update makes me happy.
## 3 - Add a new master | ||
|
||
### a - Add a new member to the etcd clusters | ||
|
||
**The clusters will stop to work until the new member is started**. | ||
|
||
```bash | ||
$ kubectl --namespace=kube-system exec etcd-server-ip-172-20-36-161.ec2.internal -- etcdctl member add etcd-<availability-zone2> http://etcd-<availability-zone2>.internal.example.com:2380 | ||
$ kubectl --namespace=kube-system exec etcd-server-events-ip-172-20-36-161.ec2.internal -- etcdctl --endpoint http://127.0.0.1:4002 member add etcd-events-<availability-zone2> http://etcd-events-<availability-zone2>.internal.example.com:2381 | ||
$ kubectl --namespace=kube-system exec etcd-server-ip-172-20-36-161.ec2.internal -- etcdctl member add etcd-<availability-zone2-name> http://etcd-<availability-zone2-name>.internal.example.com: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.
Nit picks that you can follow up in another or if you like. Looks grear btw
I hate, and I know I have done it before the ‘$’ sign with the prompt makes copy paste a pain.
Can we get the name of the pod via a label? That way we do not have to have a name the is unique in the examples.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrislovecnm, jeyglk, mikesplain The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/ok-to-test |
<availability-zone>
and<availability-zone-name>
, since they can be different (and actually, they are, by default.) it can lead to confusion.