Skip to content

Commit 35aa2d4

Browse files
authored
Merge pull request #86977 from sbeskin-redhat/CNV_45436_running_field_deprecated
CNV-45436: spec:running deprecated
2 parents d7366c4 + 9075be7 commit 35aa2d4

18 files changed

+18
-30
lines changed

modules/virt-accessing-rdp-console.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ metadata:
2525
name: vm-ephemeral
2626
namespace: example-namespace
2727
spec:
28-
running: false
28+
runStrategy: Halted
2929
template:
3030
metadata:
3131
labels:

modules/virt-attaching-vm-to-ovn-secondary-nw-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ kind: VirtualMachine
2222
metadata:
2323
name: vm-server
2424
spec:
25-
running: true
25+
runStrategy: Always
2626
template:
2727
spec:
2828
domain:

modules/virt-configuring-downward-metrics.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
name: u1.medium
4141
preference:
4242
name: fedora
43-
running: true
43+
runStrategy: Always
4444
template:
4545
metadata:
4646
labels:

modules/virt-configuring-runstrategy-vm.adoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88

99
You can configure a run strategy for a virtual machine (VM) by using the command line.
1010

11-
[IMPORTANT]
12-
====
13-
The `spec.runStrategy` and `spec.running` keys are mutually exclusive. A VM configuration that contains values for both keys is invalid.
14-
====
15-
1611
.Procedure
1712

1813
* Edit the `VirtualMachine` resource by running the following command:

modules/virt-configuring-vm-real-time.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ kind: VirtualMachine
2323
metadata:
2424
name: realtime-vm
2525
spec:
26-
running: true
26+
runStrategy: Always
2727
template:
2828
metadata:
2929
annotations:

modules/virt-connecting-vm-secondarynw-using-fqdn.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ metadata:
4040
name: example-vm
4141
namespace: example-namespace
4242
spec:
43-
running: true
43+
runStrategy: Always
4444
template:
4545
spec:
4646
domain:

modules/virt-creating-new-vm-from-cloned-pvc-using-datavolumetemplate.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ metadata:
4747
kubevirt.io/vm: vm-dv-clone
4848
name: vm-dv-clone <1>
4949
spec:
50-
running: false
50+
runStrategy: Halted
5151
template:
5252
metadata:
5353
labels:

modules/virt-creating-service-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ metadata:
2525
name: example-vm
2626
namespace: example-namespace
2727
spec:
28-
running: false
28+
runStrategy: Halted
2929
template:
3030
metadata:
3131
labels:

modules/virt-creating-vm-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This example manifest does not configure VM authentication.
3838
name: u1.medium <3>
3939
preference:
4040
name: rhel.9 <4>
41-
running: true
41+
runStrategy: Always
4242
template:
4343
spec:
4444
domain:

modules/virt-creating-vm-cloned-pvc-data-volume-template.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ metadata:
2727
kubevirt.io/vm: vm-dv-clone
2828
name: vm-dv-clone <1>
2929
spec:
30-
running: false
30+
runStrategy: Halted
3131
template:
3232
metadata:
3333
labels:

0 commit comments

Comments
 (0)