monitoring

DeprecatedMachineType

Meaning

This alert triggers when one or more Virtual Machines (VMs) are using machine types that have been marked as no longer supported.

Impact

Running VMs

Stopped VMs

Diagnosis

The alert detects VMs using unsupported machine types.

Identify affected VMs Use the alert description to locate VM names, namespaces, and nodes (if running).

Root Cause: The VM’s spec.template.spec.domain.machine.type field is set to a type that has been marked as unsupported. This can happen due to:

Mitigation

Update affected VMs to use a supported machine type. You can do one of the following:

Important: Plan and apply these updates before performing cluster upgrades to avoid VM restart failures or compatibility issues.

Alternative: remove the machine field to let KubeVirt default to the newest supported type:

# Removes spec.template.spec.domain.machine so the mutating webhook defaults it
kubectl patch vm <vm-name> -n <namespace> --type='json' \
  -p='[{"op":"remove","path":"/spec/template/spec/domain/machine"}]'

Note: The automation tool performs these JSON patches in bulk across multiple VMs.

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