-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
Currently we have only descheduler.alpha.kubernetes.io/evict annotation but please notice that the descheduler is only checking the presence of the annotation key, not its value so, counterintuitively descheduler.alpha.kubernetes.io/evict: "true" and descheduler.alpha.kubernetes.io/evict: "false" are actually producing the same effects.
See also https://github.com/kubernetes-sigs/descheduler/pull/1673 for a possible improovement.
The CNV UI is already exposing a knob to let the VM owner set descheduler.alpha.kubernetes.io/evict: "true" annotation on the VM but please notice that KubeVirt controller is not propagating VM annotation to pod ones and this requires a restart of the VM or a live migration.
- is related to
-
CNV-66703 [UI] use a new annotation to eventually opt-out selected VMs from the the descheduler scope
-
- Verified
-
- mentioned on