We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7bd6054 + 441122e commit ac8934bCopy full SHA for ac8934b
modules/virt-configuring-vm-live-migration-cli.adoc
@@ -12,7 +12,7 @@ configured by default.
12
13
.Procedure
14
15
-. Add the `evictionStrategy: LiveMigrate` option to the `spec` section in the
+. Add the `evictionStrategy: LiveMigrate` option to the `spec.template.spec` section in the
16
virtual machine configuration file. This example uses `oc edit` to update
17
the relevant snippet of the `VirtualMachine` configuration file:
18
+
@@ -30,11 +30,9 @@ kind: VirtualMachine
30
metadata:
31
name: custom-vm
32
spec:
33
- terminationGracePeriodSeconds: 180
34
- evictionStrategy: LiveMigrate
35
- domain:
36
- resources:
37
- requests:
+ template:
+ spec:
+ evictionStrategy: LiveMigrate
38
...
39
----
40
0 commit comments