Skip to content

Commit 497e249

Browse files
authored
Merge pull request #47671 from UnstoppableMango/ha-etcd-snippet
Update High Availability etcd ClusterConfiguration snippet for v1beta4
2 parents 2996ce7 + 19fd1be commit 497e249

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

content/en/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,20 @@ on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/set
142142
peerCertSANs:
143143
- "${HOST}"
144144
extraArgs:
145-
initial-cluster: ${NAMES[0]}=https://${HOSTS[0]}:2380,${NAMES[1]}=https://${HOSTS[1]}:2380,${NAMES[2]}=https://${HOSTS[2]}:2380
146-
initial-cluster-state: new
147-
name: ${NAME}
148-
listen-peer-urls: https://${HOST}:2380
149-
listen-client-urls: https://${HOST}:2379
150-
advertise-client-urls: https://${HOST}:2379
151-
initial-advertise-peer-urls: https://${HOST}:2380
145+
- name: initial-cluster
146+
value: ${NAMES[0]}=https://${HOSTS[0]}:2380,${NAMES[1]}=https://${HOSTS[1]}:2380,${NAMES[2]}=https://${HOSTS[2]}:2380
147+
- name: initial-cluster-state
148+
value: new
149+
- name: name
150+
value: ${NAME}
151+
- name: listen-peer-urls
152+
value: https://${HOST}:2380
153+
- name: listen-client-urls
154+
value: https://${HOST}:2379
155+
- name: advertise-client-urls
156+
value: https://${HOST}:2379
157+
- name: initial-advertise-peer-urls
158+
value: https://${HOST}:2380
152159
EOF
153160
done
154161
```

0 commit comments

Comments
 (0)