Skip to content

Commit 1927e3a

Browse files
authored
Merge pull request #38813 from bergerhoffer/BZ-2004124
BZ-2004124: Adding details on configuring descheduler settings in the UI
2 parents eda0abd + 7950a18 commit 1927e3a

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

modules/nodes-descheduler-configuring-profiles.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ spec:
4343
- EvictPodsWithLocalStorage
4444
- EvictPodsWithPVC
4545
----
46-
<1> Optional: Enable a custom pod lifetime value for the `LifecycleAndUtilization` profile. Valid units are `ns`, `us`, `ms`, `s`, `m`, or `h`. The default pod lifetime is 24 hours.
46+
<1> Optional: Enable a custom pod lifetime value for the `LifecycleAndUtilization` profile. Valid units are `s`, `m`, or `h`. The default pod lifetime is 24 hours.
4747
<2> Add one or more profiles to enable. Available profiles: `AffinityAndTaints`, `TopologyAndDuplicates`, `LifecycleAndUtilization`, `SoftTopologyAndDuplicates`, `EvictPodsWithLocalStorage`, and `EvictPodsWithPVC`.
48-
<3> Do not enable both `TopologyAndDuplicates` and `SoftTopologyAndDuplicates` because they will conflict with each other.
48+
<3> Do not enable both `TopologyAndDuplicates` and `SoftTopologyAndDuplicates`. Enabling both results in a conflict.
4949
+
5050
You can enable multiple profiles; the order that the profiles are specified in is not important.
5151

modules/nodes-descheduler-installing.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@ endif::[]
3333
. Create a descheduler instance.
3434
.. From the *Operators* -> *Installed Operators* page, click the *Kube Descheduler Operator*.
3535
.. Select the *Kube Descheduler* tab and click *Create KubeDescheduler*.
36-
.. Edit the settings as necessary. You can configure the descheduler profiles and customizations now or after it has been created.
36+
.. Edit the settings as necessary.
37+
... Expand the *Profiles* section to select one or more profiles to enable. The `AffinityAndTaints` profile is enabled by default. Click *Add Profile* to select additional profiles.
38+
+
39+
[NOTE]
40+
====
41+
Do not enable both `TopologyAndDuplicates` and `SoftTopologyAndDuplicates`. Enabling both results in a conflict.
42+
====
43+
... Optional: Expand the *Profile Customizations* section to set a custom pod lifetime value for the `LifecycleAndUtilization` profile. Valid units are `s`, `m`, or `h`. The default pod lifetime is 24 hours.
44+
... Optional: Use the *Descheduling Interval Seconds* field to change the number of seconds between descheduler runs. The default is `3600` seconds.
3745
.. Click *Create*.
3846

39-
You can now configure the profiles for the descheduler. If you did not adjust the profiles when creating the descheduler instance from the web console, the `AffinityAndTaints` profile is enabled by default.
47+
You can also configure the profiles and settings for the descheduler later using the OpenShift CLI (`oc`). If you did not adjust the profiles when creating the descheduler instance from the web console, the `AffinityAndTaints` profile is enabled by default.

modules/nodes-descheduler-profiles.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ By default, pods that are older than 24 hours are removed. You can customize the
4646
+
4747
[NOTE]
4848
====
49-
Do not enable both `SoftTopologyAndDuplicates` and `TopologyAndDuplicates` because they will conflict with each other.
49+
Do not enable both `SoftTopologyAndDuplicates` and `TopologyAndDuplicates`. Enabling both results in a conflict.
5050
====
5151

5252
`EvictPodsWithLocalStorage`:: This profile allows pods with local storage to be eligible for eviction.

0 commit comments

Comments
 (0)