diff --git a/modules/nodes-descheduler-installing.adoc b/modules/nodes-descheduler-installing.adoc index 9459659407..38e8cb2114 100644 --- a/modules/nodes-descheduler-installing.adoc +++ b/modules/nodes-descheduler-installing.adoc @@ -58,11 +58,11 @@ endif::[] ... To evict pods instead of simulating the evictions, change the *Mode* field to *Automatic*. ifdef::virt[] -... Expand the *Profiles* section and select `DevPreviewLongLifecycle`. The `AffinityAndTaints` profile is enabled by default. +... Expand the *Profiles* section and select `LongLifecycle`. The `AffinityAndTaints` profile is enabled by default. + [IMPORTANT] ==== -The only profile currently available for {VirtProductName} is `DevPreviewLongLifecycle`. +The only profile currently available for {VirtProductName} is `LongLifecycle`. ==== You can also configure the profiles and settings for the descheduler later using the OpenShift CLI (`oc`). diff --git a/modules/nodes-descheduler-profiles.adoc b/modules/nodes-descheduler-profiles.adoc index f7054a70d5..5b07e59d1f 100644 --- a/modules/nodes-descheduler-profiles.adoc +++ b/modules/nodes-descheduler-profiles.adoc @@ -90,7 +90,7 @@ Do not enable `CompactAndScale` with any of the following profiles: `LifecycleAn endif::nodes[] ifdef::virt[] -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. +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. endif::virt[] // Show LongLifecycle profile both for virt and nodes diff --git a/modules/virt-enabling-descheduler-evictions.adoc b/modules/virt-enabling-descheduler-evictions.adoc index 0fc61d2884..a453f9a71c 100644 --- a/modules/virt-enabling-descheduler-evictions.adoc +++ b/modules/virt-enabling-descheduler-evictions.adoc @@ -28,7 +28,7 @@ spec: descheduler.alpha.kubernetes.io/evict: "true" ---- -. 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: +. Configure the `KubeDescheduler` object with the `LongLifecycle` profile and enable background evictions for improved VM eviction stability during live migration: + [source,yaml] ---- @@ -40,9 +40,12 @@ metadata: spec: deschedulingIntervalSeconds: 3600 profiles: - - DevPreviewLongLifecycle - mode: Predictive <1> + - LongLifecycle <1> + mode: Predictive <2> + devEnableEvictionsInBackground: true <3> ---- -<1> By default, the descheduler does not evict pods. To evict pods, set `mode` to `Automatic`. +<1> You can only set the `LongLifecycle` profile. This profile balances resource usage between nodes. +<2> By default, the descheduler does not evict pods. To evict pods, set `mode` to `Automatic`. +<3> Enabling `devEnableEvictionsInBackground` allows evictions to occur in the background, improving stability and mitigating oscillatory behavior during live migrations. -The descheduler is now enabled on the VM. +The descheduler is now enabled on the VM. \ No newline at end of file