monitoring

KubevirtVmHighMemoryUsage

Meaning

This alert fires when a container hosting a virtual machine (VM) has less than 20 MB free memory.

Impact

The virtual machine running inside the container is terminated by the runtime if the container’s memory limit is exceeded.

Diagnosis

  1. Obtain the virt-launcher pod details:

    $ kubectl get pod <virt-launcher> -o yaml
    
  2. Identify compute container processes with high memory usage in the virt-launcher pod:

    $ kubectl exec -it <virt-launcher> -c compute -- top
    

Mitigation