NotReady status and finally is deleted after 12 minutes by MHC (MachineHealthCheck) in loop. Container runtime network not ready: NetworkReady=false reason: NetworkPluginNotReady message: Network plugin returns error: cni plugin not initialized
crictl ps' which has only 4 static pods running without CNI pod such as antrea-agent:etcdkube-schedulerkube-apiserverkube-controller-managerkubectl describe deployments -n kube-system antrea-controller"message": "Internal error occurred: failed calling webhook "admission-webhook.windows-gmsa.sigs.k8s.io": failed to call webhook: Post "https://windows-gmsa-webhook.windows-gmsa-webhook.svc:443/mutate?timeout=10s": tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "windows-gmsa-webhook-ca")"VMware vSphere Kubernetes Service
The kube-apiserver does not trust the gMSA webhook certificate that causes connection is failed. The antrea-agent pod will not be able to schedule to new control plane node.
To workaround the issue:
kubectl get app -A | grep gmsakubectl patch app <gmsa-app-name> -n <namespace> --type=merge -p '{"spec":{"paused":true}}'kubectl patch mutatingwebhookconfigurations.admissionregistration.k8s.io windows-gmsa-webhook --type='json' -p='[{"op": "replace", "path": "/webhooks/0/failurePolicy", "value": "Ignore"}]'kubectl patch validatingwebhookconfigurations.admissionregistration.k8s.io windows-gmsa-webhook --type='json' -p='[{"op": "replace", "path": "/webhooks/0/failurePolicy", "value": "Ignore"}]'
kubectl get pods -A -o wide | grep <new-control-plane-node-name>
kubectl patch app <gmsa-app-name> -n <namespace> --type=merge -p '{"spec":{"paused":false}}'