monitoring

VirtAPIDown

Meaning

This alert fires when all the API Server pods are down.

Impact

KubeVirt objects cannot send API calls.

Diagnosis

  1. Set the NAMESPACE environment variable:

    $ export NAMESPACE="$(kubectl get kubevirt -A -o custom-columns="":.metadata.namespace)"
    
  2. Check the status of the virt-api pods:

    $ kubectl -n $NAMESPACE get pods -l kubevirt.io=virt-api
    
  3. Check the status of the virt-api deployment:

    $ kubectl -n $NAMESPACE get deploy virt-api -o yaml
    
  4. Check the virt-api deployment details for issues such as crashing pods or image pull failures:

    $ kubectl -n $NAMESPACE describe deploy virt-api
    
  5. Check for issues such as nodes in a NotReady state:

    $ kubectl get nodes
    

Mitigation

Try to identify the root cause and resolve the issue. If you cannot resolve the issue, see the following resources: