This alert fires when the eviction strategy of a virtual machine (VM) is set to
LiveMigration
but the VM is not migratable.
Non-migratable VMs prevent node eviction. This condition affects operations such as node drain and updates.
Check the VMI configuration to determine whether the value of
evictionStrategy
is LiveMigrate
of the VMI:
$ kubectl get vmis -o yaml
Check for a False
status in the LIVE-MIGRATABLE
column to identify VMIs
that are not migratable:
$ kubectl get vmis -o wide
Obtain the details of the VMI and check spec.conditions
to identify the issue:
$ kubectl get vmi <vmi> -o yaml
Example output:
status:
conditions:
- lastProbeTime: null
lastTransitionTime: null
message: cannot migrate VMI which does not use masquerade to connect to the pod network
reason: InterfaceNotLiveMigratable
status: "False"
type: LiveMigratable
Set the evictionStrategy
of the VMI to shutdown
or resolve the issue that
prevents the VMI from migrating.