Skip to content

Commit

Permalink
Two bug fixes to HA guide for kubeadm: (#7451)
Browse files Browse the repository at this point in the history
- In the provided configuration file for `kubeadm init` the value for
`apiserver-count` needs to be put in quotes.
- In addition to /etc/kubernetes/pki/ca.* also /etc/kubernetes/pki/sa.*
need to be copied to the additional masters. See [this
comment](kubernetes/kubeadm#546 (comment)) by
@petergardfjall for details.
  • Loading branch information
mbert authored and k8s-ci-robot committed Feb 20, 2018
1 parent 01e09b0 commit a06de68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/setup/independent/high-availability.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ Only follow this step if your etcd is hosted on dedicated nodes (**Option 1**).
apiServerCertSANs:
- <load-balancer-ip>
apiServerExtraArgs:
apiserver-count: 3
apiserver-count: "3"
EOF
```
Expand Down Expand Up @@ -468,7 +468,7 @@ Before running kubeadm on the other masters, you need to first copy the K8s CA c
#### Option 2: Copy paste
1. Copy the contents of `/etc/kubernetes/pki/ca.crt` and `/etc/kubernetes/pki/ca.key` and create these files manually on `master1` and `master2`.
1. Copy the contents of `/etc/kubernetes/pki/ca.crt`, `/etc/kubernetes/pki/ca.key`, `/etc/kubernetes/pki/sa.key` and `/etc/kubernetes/pki/sa.pub` and create these files manually on `master1` and `master2`.
When this is done, you can follow the [previous step](#kubeadm-init-master0) to install the control plane with kubeadm.
Expand Down

0 comments on commit a06de68

Please sign in to comment.