Update 'k8s/initialize.yml'

master
alecsandru 9 months ago
parent f8f00a36e3
commit 499dbb4b22
  1. 2
      k8s/initialize.yml

@ -5,6 +5,8 @@
become_method: sudo become_method: sudo
become_user: root become_user: root
tasks: tasks:
- name: Pull images
shell: kubeadm config images pull
- 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_DEST_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:

Loading…
Cancel
Save