mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
When the WorkloadMonitor is reconciled and child Workload objects are created, they will now get additional labels in the `workloads.cozystack.io` namespace, containing metadata about the workload. This particular commit checks if a pod targeted by a Workload is owned by a VirtualMachineInstance (i.e. it launches a KubeVirt VMI) and, if so, gets the VMI instance type and puts it in the `kubevirt-vmi-instance-type` label. Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
14 KiB
14 KiB