The virt-handler
daemon set has failed to deploy on one or more worker nodes
after 15 minutes.
This alert is a warning. It does not indicate that all virt-handler
daemon
sets have failed to deploy. Therefore, the normal lifecycle of virtual machines
is not affected unless the cluster is overloaded.
Identify worker nodes that do not have a running virt-handler
pod:
Export the NAMESPACE
environment variable:
$ export NAMESPACE="$(kubectl get kubevirt -A -o custom-columns="":.metadata.namespace)"
Check the status of the virt-handler
pods to identify pods that have not
deployed:
$ kubectl get pods -n $NAMESPACE -l=kubevirt.io=virt-handler
Obtain the name of the worker node of the virt-handler
pod:
$ kubectl -n $NAMESPACE get pod <virt-handler> -o jsonpath='{.spec.nodeName}'
If the virt-handler
pods failed to deploy because of insufficient resources,
you can delete other pods on the affected worker node.