-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HCOMisconfiguredDescheduler runbook
Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
- Loading branch information
1 parent
0fa80c4
commit 551ea83
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# HCOMisconfiguredDescheduler | ||
|
||
## Meaning | ||
|
||
`Kube Descheduler Operator` is an optional operator, and it's not installed by | ||
default nor as a dependency of HCO. | ||
When installed it can work on a cluster with KubeVirt only if configured | ||
enabling `devEnableEvictionsInBackground` profileCustomization that | ||
is disabled by default. | ||
`DevEnableEvictionsInBackground` enables descheduler's EvictionsInBackground | ||
alpha feature. | ||
The EvictionsInBackground alpha feature is a subject to change. | ||
Currently provided as an experimental feature. | ||
|
||
## Impact | ||
|
||
If `Kube Descheduler Operator` is installed but not configured with | ||
`devEnableEvictionsInBackground` profileCustomization, `VirtualMachine` | ||
cannot be correctly managed by the descheduler. | ||
|
||
## Diagnosis | ||
|
||
1. Check the CR for `Kube Descheduler Operator`: | ||
|
||
```bash | ||
$ kubectl get -n openshift-kube-descheduler-operator KubeDescheduler cluster -o yaml | ||
``` | ||
|
||
looking for: | ||
|
||
```yaml | ||
spec: | ||
profileCustomizations: | ||
devEnableEvictionsInBackground: true | ||
``` | ||
|
||
If not there, the `Kube Descheduler Operator` is not correctly configured | ||
to work alongside KubeVirt. | ||
|
||
## Mitigation | ||
|
||
Set: | ||
```yaml | ||
spec: | ||
profileCustomizations: | ||
devEnableEvictionsInBackground: true | ||
``` | ||
on the CR for the `Kube Descheduler Operator`. | ||
Please notice that `EvictionsInBackground` is an alpha feature and it's subject | ||
to change and currently provided as an experimental feature. | ||
<!--DS: If you cannot resolve the issue, log in to the | ||
link:https://access.redhat.com[Customer Portal] and open a support case, | ||
attaching the artifacts gathered during the diagnosis procedure.--> | ||
<!--USstart--> | ||
If you cannot resolve the issue, see the following resources: | ||
- [OKD Help](https://www.okd.io/help/) | ||
- [#virtualization Slack channel](https://kubernetes.slack.com/channels/virtualization) | ||
<!--USend--> |