Update 'k8s/initialize.yml'
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
become_user: root
|
become_user: root
|
||||||
tasks:
|
tasks:
|
||||||
- name: Initialize the control plane
|
- 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:
|
args:
|
||||||
chdir: $HOME
|
chdir: $HOME
|
||||||
creates: /etc/kubernetes/setup.out
|
creates: /etc/kubernetes/setup.out
|
||||||
|
Reference in New Issue
Block a user