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