Skip to content

Commit

Permalink
Merge pull request #1439 from GiganticMinecraft/fix-k8s-node-init04
Browse files Browse the repository at this point in the history
delete --allow-experimental-api
  • Loading branch information
unchama authored Dec 3, 2023
2 parents 0233ab3 + beacd0d commit b39a588
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 b39a588

Please sign in to comment.