From 53e3a55011654546b45ef5b71b6840d37de64130 Mon Sep 17 00:00:00 2001 From: alecsandru Date: Sat, 4 May 2024 12:45:31 +0000 Subject: [PATCH] Update 'k8s/initialize.yml' --- k8s/initialize.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/initialize.yml b/k8s/initialize.yml index b87d510..db0d7b6 100644 --- a/k8s/initialize.yml +++ b/k8s/initialize.yml @@ -6,7 +6,7 @@ become_user: root tasks: - name: Initialize the control plane - shell: kubeadm init --pod-network-cidr={{ POD_NETWORK_CIDR }} --control-plane-endpoint "{{ APISERVER_VIP}}:{{ APISERVER_PORT }}" --upload-certs >> /etc/kubernetes/setup.out + shell: kubeadm init --pod-network-cidr={{ POD_NETWORK_CIDR }} --control-plane-endpoint "{{ APISERVER_VIP}}:{{ APISERVER_DEST_PORT }}" --upload-certs >> /etc/kubernetes/setup.out args: chdir: $HOME creates: /etc/kubernetes/setup.out