Update 'k8s/initialize.yml'

master
alecsandru 9 months ago
parent 29601d13be
commit 53e3a55011
  1. 2
      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

Loading…
Cancel
Save