From b248efa30d93474bedb6d0131005a1c082885afe Mon Sep 17 00:00:00 2001 From: unchama <11990197+unchama@users.noreply.github.com> Date: Mon, 4 Dec 2023 03:32:48 +0900 Subject: [PATCH] =?UTF-8?q?localAPIEndpoint=E3=81=AE=E6=9B=B8=E3=81=8F?= =?UTF-8?q?=E5=A0=B4=E6=89=80=E9=96=93=E9=81=95=E3=81=88=E3=81=A6=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../roles/11-kubeadm-join-cp/templates/join_kubeadm_cp.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/seichi-onp-k8s/cluster-boot-up/ansible/roles/11-kubeadm-join-cp/templates/join_kubeadm_cp.yaml b/seichi-onp-k8s/cluster-boot-up/ansible/roles/11-kubeadm-join-cp/templates/join_kubeadm_cp.yaml index 74e9c13c9..cf2a3f43c 100644 --- a/seichi-onp-k8s/cluster-boot-up/ansible/roles/11-kubeadm-join-cp/templates/join_kubeadm_cp.yaml +++ b/seichi-onp-k8s/cluster-boot-up/ansible/roles/11-kubeadm-join-cp/templates/join_kubeadm_cp.yaml @@ -9,9 +9,6 @@ nodeRegistration: criSocket: "unix:///var/run/containerd/containerd.sock" kubeletExtraArgs: node-ip: "{{ host_addr_cls }}" -localAPIEndpoint: - advertiseAddress: "{{ host_addr_cls }}" - bindPort: 6443 discovery: bootstrapToken: apiServerEndpoint: "{{ kube_api_server_vip }}:8443" @@ -19,3 +16,6 @@ discovery: unsafeSkipCAVerification: true controlPlane: certificateKey: "{{ kubeadm_uploaded_certs }}" + localAPIEndpoint: + advertiseAddress: "{{ host_addr_cls }}" + bindPort: 6443