Update 'k8s/initialize.yml'

master
alecsandru 9 months ago
parent f56e23b95c
commit 748c8a48d0
  1. 3
      k8s/initialize.yml

@ -7,7 +7,8 @@
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
args: chdir $HOME
args:
chdir: $HOME
creates: /etc/kubernetes/setup.out
# - name: Reboot machine to finaliza presetup
# reboot:

Loading…
Cancel
Save