This alert has been deprecated; it does not indicate a genuine issue. If triggered, it may be safely ignored and silenced.
More than 5% of REST calls failed in virt-controller in the last 60 minutes.
This is most likely because virt-controller has partially lost connection to
the API server.
This error is frequently caused by one of the following problems:
-
The API server is overloaded, which causes timeouts. To verify if this is the case, check the metrics of the API server, and view its response times and overall calls.
-
The
virt-controllerpod cannot reach the API server. This is commonly caused by DNS issues on the node and networking connectivity issues.
Node-related actions, such as starting and migrating, and scheduling virtual machines, are delayed. Running workloads are not affected, but reporting their current status might be delayed.
-
Set the
NAMESPACEenvironment variable:$ export NAMESPACE="$(kubectl get kubevirt -A -o custom-columns="":.metadata.namespace)"
-
List the available
virt-controllerpods:$ kubectl get pods -n $NAMESPACE -l=kubevirt.io=virt-controller -
Check the
virt-controllerlogs for error messages when connecting to the API server:$ kubectl logs -n $NAMESPACE <virt-controller>
-
If the
virt-controllerpod cannot connect to the API server, delete the pod to force a restart:$ kubectl delete -n $NAMESPACE <virt-controller>
If you cannot resolve the issue, see the following resources: