Skip to content

Commit 4a889cd

Browse files
authored
Merge pull request #83720 from danielclowers/CNV-48412
CNV#48412: devEnableEvictionsInBackground TP docs
2 parents e30adf8 + 7af1888 commit 4a889cd

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

modules/nodes-descheduler-installing.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ endif::[]
5858
... To evict pods instead of simulating the evictions, change the *Mode* field to *Automatic*.
5959

6060
ifdef::virt[]
61-
... Expand the *Profiles* section and select `DevPreviewLongLifecycle`. The `AffinityAndTaints` profile is enabled by default.
61+
... Expand the *Profiles* section and select `LongLifecycle`. The `AffinityAndTaints` profile is enabled by default.
6262
+
6363
[IMPORTANT]
6464
====
65-
The only profile currently available for {VirtProductName} is `DevPreviewLongLifecycle`.
65+
The only profile currently available for {VirtProductName} is `LongLifecycle`.
6666
====
6767

6868
You can also configure the profiles and settings for the descheduler later using the OpenShift CLI (`oc`).

modules/nodes-descheduler-profiles.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Do not enable `CompactAndScale` with any of the following profiles: `LifecycleAn
9090

9191
endif::nodes[]
9292
ifdef::virt[]
93-
Use the Technology Preview `DevPreviewLongLifecycle` profile to enable the descheduler on a virtual machine. This is the only descheduler profile currently available for {VirtProductName}. To ensure proper scheduling, create VMs with CPU and memory requests for the expected load.
93+
Use the `LongLifecycle` profile to enable the descheduler on a virtual machine. This is the only descheduler profile currently available for {VirtProductName}. To ensure proper scheduling, create VMs with CPU and memory requests for the expected load.
9494
endif::virt[]
9595

9696
// Show LongLifecycle profile both for virt and nodes

modules/virt-enabling-descheduler-evictions.adoc

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
descheduler.alpha.kubernetes.io/evict: "true"
2929
----
3030

31-
. If you did not already set the `DevPreviewLongLifecycle` profile in the web console during installation, specify the `DevPreviewLongLifecycle` in the `spec.profile` section of the `KubeDescheduler` object:
31+
. Configure the `KubeDescheduler` object with the `LongLifecycle` profile and enable background evictions for improved VM eviction stability during live migration:
3232
+
3333
[source,yaml]
3434
----
@@ -40,9 +40,12 @@ metadata:
4040
spec:
4141
deschedulingIntervalSeconds: 3600
4242
profiles:
43-
- DevPreviewLongLifecycle
44-
mode: Predictive <1>
43+
- LongLifecycle <1>
44+
mode: Predictive <2>
45+
devEnableEvictionsInBackground: true <3>
4546
----
46-
<1> By default, the descheduler does not evict pods. To evict pods, set `mode` to `Automatic`.
47+
<1> You can only set the `LongLifecycle` profile. This profile balances resource usage between nodes.
48+
<2> By default, the descheduler does not evict pods. To evict pods, set `mode` to `Automatic`.
49+
<3> Enabling `devEnableEvictionsInBackground` allows evictions to occur in the background, improving stability and mitigating oscillatory behavior during live migrations.
4750

48-
The descheduler is now enabled on the VM.
51+
The descheduler is now enabled on the VM.

0 commit comments

Comments
 (0)