From 19fd1be30228a183604c0beee21c1145a8fdb2b2 Mon Sep 17 00:00:00 2001 From: Erik Rasmussen Date: Sun, 25 Aug 2024 11:20:21 -0500 Subject: [PATCH] Update snippet for v1beta4 Consistent formatting --- .../kubeadm/setup-ha-etcd-with-kubeadm.md | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/content/en/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm.md b/content/en/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm.md index 5296c819ba..0f4eff5828 100644 --- a/content/en/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm.md +++ b/content/en/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm.md @@ -142,13 +142,20 @@ on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/set peerCertSANs: - "${HOST}" extraArgs: - initial-cluster: ${NAMES[0]}=https://${HOSTS[0]}:2380,${NAMES[1]}=https://${HOSTS[1]}:2380,${NAMES[2]}=https://${HOSTS[2]}:2380 - initial-cluster-state: new - name: ${NAME} - listen-peer-urls: https://${HOST}:2380 - listen-client-urls: https://${HOST}:2379 - advertise-client-urls: https://${HOST}:2379 - initial-advertise-peer-urls: https://${HOST}:2380 + - name: initial-cluster + value: ${NAMES[0]}=https://${HOSTS[0]}:2380,${NAMES[1]}=https://${HOSTS[1]}:2380,${NAMES[2]}=https://${HOSTS[2]}:2380 + - name: initial-cluster-state + value: new + - name: name + value: ${NAME} + - name: listen-peer-urls + value: https://${HOST}:2380 + - name: listen-client-urls + value: https://${HOST}:2379 + - name: advertise-client-urls + value: https://${HOST}:2379 + - name: initial-advertise-peer-urls + value: https://${HOST}:2380 EOF done ```