Skip to content

Commit

Permalink
delete --allow-experimental-api
Browse files Browse the repository at this point in the history
  • Loading branch information
unchama committed Dec 3, 2023
1 parent c101ba3 commit beacd0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

- name: Execute kubeadm join command
become: yes
shell: "kubeadm join --config /root/join_kubeadm_cp.yaml" --allow-experimental-api
shell: "kubeadm join --config /root/join_kubeadm_cp.yaml"
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

- name: Execute kubeadm join command
become: yes
shell: "kubeadm join --config /root/join_kubeadm_wk.yaml" --allow-experimental-api
shell: "kubeadm join --config /root/join_kubeadm_wk.yaml"

Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ protectKernelDefaults: true
EOF

# Install Kubernetes without kube-proxy
kubeadm init --config "$HOME"/init_kubeadm.yaml --skip-phases=addon/kube-proxy --ignore-preflight-errors=NumCPU,Mem --allow-experimental-api
kubeadm init --config "$HOME"/init_kubeadm.yaml --skip-phases=addon/kube-proxy --ignore-preflight-errors=NumCPU,Mem

mkdir -p "$HOME"/.kube
cp -i /etc/kubernetes/admin.conf "$HOME"/.kube/config
Expand Down

0 comments on commit beacd0d

Please sign in to comment.