Skip to content

Commit

Permalink
Close #13089 (#13353)
Browse files Browse the repository at this point in the history
  • Loading branch information
cstoku authored and k8s-ci-robot committed Mar 26, 2019
1 parent 4e2aca2 commit 26047cc
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ this example.

1. Configure the kubelet to be a service manager for etcd.

Running etcd is simpler than running kubernetes so you must override the
kubeadm-provided kubelet unit file by creating a new one with a higher
precedence.
Since etcd was created first, you must override the service priority by creating a new unit file
that has higher precedence than the kubeadm-provided kubelet unit file.

```sh
cat << EOF > /etc/systemd/system/kubelet.service.d/20-etcd-service-manager.conf
Expand Down Expand Up @@ -90,7 +89,7 @@ this example.
peerCertSANs:
- "${HOST}"
extraArgs:
initial-cluster: infra0=https://${ETCDHOSTS[0]}:2380,infra1=https://${ETCDHOSTS[1]}:2380,infra2=https://${ETCDHOSTS[2]}:2380
initial-cluster: ${NAMES[0]}=https://${ETCDHOSTS[0]}:2380,${NAMES[1]}=https://${ETCDHOSTS[1]}:2380,${NAMES[2]}=https://${ETCDHOSTS[2]}:2380
initial-cluster-state: new
name: ${NAME}
listen-peer-urls: https://${HOST}:2380
Expand Down Expand Up @@ -256,7 +255,7 @@ this example.
{{% capture whatsnext %}}
Once your have a working 3 member etcd cluster, you can continue setting up a
Once you have a working 3 member etcd cluster, you can continue setting up a
highly available control plane using the [external etcd method with
kubeadm](/docs/setup/independent/high-availability/).
Expand Down

0 comments on commit 26047cc

Please sign in to comment.