Skip to content

Commit

Permalink
chore(devops): Ignore CoreDNSUnsupportedPlugins
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Paskal <[email protected]>
  • Loading branch information
maksim-paskal committed Oct 4, 2024
1 parent 2747a5f commit e1fb1e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/upgrade-controlplane.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ export INDEX=${HOSTNAME##*-}

if [[ $INDEX -eq 1 ]]; then
# update controlplane on first node
kubeadm upgrade apply "$(kubeadm version -o short)" -f
kubeadm upgrade --ignore-preflight-errors=CoreDNSUnsupportedPlugins apply "$(kubeadm version -o short)" -f
else
# update controlplane on other node
kubeadm upgrade node
kubeadm upgrade --ignore-preflight-errors=CoreDNSUnsupportedPlugins node
fi

systemctl restart kubelet

0 comments on commit e1fb1e4

Please sign in to comment.