#!/bin/bash set -eu export KUBECONFIG=/root/.kube/config docker pull ghcr.io/flannel-io/flannel:v0.27.4 echo PULL_DONE kubectl delete pod -n kube-flannel -l app=flannel --force --grace-period=0 || true kubectl wait --for=condition=Ready node/prod102 --timeout=180s kubectl get nodes -o wide kubectl get pods -A -o wide echo CONTROL_PLANE_OK