You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/virt-configuring-a-live-migration-policy.adoc
+8-12Lines changed: 8 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -43,20 +43,18 @@ metadata:
43
43
labels:
44
44
app: my-app
45
45
environment: production
46
-
*spec:*
47
-
running: true
48
-
*template:*
49
-
*metadata:*
50
-
*labels:*
51
-
*kubevirt.io/domain: <vm-name>*
52
-
*kubevirt.io/size: large*
53
-
*kubevirt.io/environment: production*
54
-
[...]
46
+
spec:
47
+
template:
48
+
metadata:
49
+
labels:
50
+
kubevirt.io/domain: <vm-name>
51
+
kubevirt.io/size: large
52
+
kubevirt.io/environment: production
55
53
----
56
54
57
55
.. Save and exit the configuration.
58
56
59
-
. Configure a `MigrationPolicy` object with the corresponding labels, as in the following example:
57
+
. Configure a `MigrationPolicy` object with the corresponding labels. The following example configures a policy that applies to all VMs that are labeled as `production`:
0 commit comments