This alert fires when a container hosting a virtual machine (VM) has less than 20 MB free memory.
The virtual machine running inside the container is terminated by the runtime if the container’s memory limit is exceeded.
Obtain the virt-launcher pod details:
$ kubectl get pod <virt-launcher> -o yaml
Identify compute container processes with high memory usage in the
virt-launcher pod:
$ kubectl exec -it <virt-launcher> -c compute -- top
Increase the memory limit in the VirtualMachine specification as in the
following example:
spec:
running: false
template:
metadata:
labels:
kubevirt.io/vm: vm-name
spec:
domain:
resources:
limits:
memory: 200Mi
requests:
memory: 128Mi