monitoring

KubeVirtVMGuestMemoryPressure

Meaning

The VM guest OS is under sustained memory pressure (low usable memory with elevated major page faults and/or swap I/O), risking thrashing, swapping, or OOM kills.

Impact

Diagnosis

Mitigation

To increase VM memory in the VM spec:

  # Edit the VM and adjust spec.template.spec.domain.resources.{requests,limits}.memory
  kubectl edit vm <vm-name> -n <namespace>

If a restart is required to apply the change, gracefully stop the VM when appropriate:

  # Stop the VM (you can start it again from your usual workflow)
  virtctl stop <vm-name> -n <namespace>

Start the VM after updating the memory:

  virtctl start <vm-name> -n <namespace>

If you cannot resolve the issue, see the following resources: