Skip to content

Commit 901d53a

Browse files
authored
Merge pull request #78334 from ousleyp/cnv-39395
cnv: Clarify evictionStrategy usage in a few places
2 parents 2a4dde4 + f3f8b89 commit 901d53a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

modules/virt-about-storage-volumes-for-vm-disks.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ You cannot live migrate virtual machines with the following configurations:
2626
* Storage volume with `ReadWriteOnce` (RWO) access mode
2727
* Passthrough features such as GPUs
2828
29-
Do not set the `evictionStrategy` field to `LiveMigrate` for these virtual machines.
29+
Set the `evictionStrategy` field to `None` for these virtual machines.
30+
The `None` strategy powers down VMs during node reboots.
3031
====

modules/virt-about-upgrading-virt.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ ifndef::openshift-rosa,openshift-dedicated[]
2828
====
2929
If you have virtual machines running that use hostpath provisioner storage, they cannot be live migrated and might block an {product-title} cluster update.
3030

31-
As a workaround, you can reconfigure the virtual machines so that they can be powered off automatically during a cluster update. Remove the `evictionStrategy: LiveMigrate` field and set the `runStrategy` field to `Always`.
31+
As a workaround, you can reconfigure the virtual machines so that they can be powered off automatically during a cluster update. Set the `evictionStrategy` field to `None` and the `runStrategy` field to `Always`.
3232
====
3333
endif::openshift-rosa,openshift-dedicated[]
3434
ifdef::openshift-rosa,openshift-dedicated[]
3535
[IMPORTANT]
3636
====
3737
If you have virtual machines running that use AWS Elastic Block Store (EBS) storage, they cannot be live migrated and might block an {product-title} cluster update.
3838

39-
As a workaround, you can reconfigure the virtual machines so that they can be powered off automatically during a cluster update. Remove the `evictionStrategy: LiveMigrate` field and set the `runStrategy` field to `Always`.
39+
As a workaround, you can reconfigure the virtual machines so that they can be powered off automatically during a cluster update. Set the `evictionStrategy` field to `None` and the `runStrategy` field to `Always`.
4040
====
4141
endif::openshift-rosa,openshift-dedicated[]

modules/virt-runbook-vmcannotbeevicted.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,7 @@ status:
6969
[id="mitigation-vmcannotbeevicted"]
7070
== Mitigation
7171

72-
Set the `evictionStrategy` of the VMI to `shutdown` or resolve the issue that
72+
Set the `evictionStrategy` of the VMI to `None` or resolve the issue that
7373
prevents the VMI from migrating.
74+
The `None` startegy shuts down VMs in case of node drains and pod
75+
evictions.

0 commit comments

Comments
 (0)