Skip to content

Commit 0cecf93

Browse files
committed
replace kubevirt version
1 parent f074f92 commit 0cecf93

18 files changed

+23
-23
lines changed

modules/virt-about-runstrategies-vms.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ In {VirtProductName} clusters installed using installer-provisioned infrastructu
5454

5555
[source,yaml]
5656
----
57-
apiVersion: kubevirt.io/v1alpha3
57+
apiVersion: kubevirt.io/v1
5858
kind: VirtualMachine
5959
spec:
6060
RunStrategy: Always <1>

modules/virt-configuring-masquerade-mode-dual-stack.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ When the virtual machine is running, incoming and outgoing traffic for the virtu
2121
+
2222
[source,yaml]
2323
----
24-
apiVersion: kubevirt.io/v1alpha3
24+
apiVersion: kubevirt.io/v1
2525
kind: VirtualMachine
2626
metadata:
2727
name: example-vm-ipv6

modules/virt-configuring-vm-live-migration-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $ oc edit vm <custom-vm> -n <my-namespace>
2424

2525
[source,yaml]
2626
----
27-
apiVersion: kubevirt.io/v1alpha3
27+
apiVersion: kubevirt.io/v1
2828
kind: VirtualMachine
2929
metadata:
3030
name: custom-vm

modules/virt-creating-a-service-from-a-virtual-machine.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This procedure presents an example of how to create, connect to, and expose a `S
4444

4545
[source,yaml]
4646
----
47-
apiVersion: kubevirt.io/v1alpha3
47+
apiVersion: kubevirt.io/v1
4848
kind: VirtualMachine
4949
metadata:
5050
name: vm-ephemeral
@@ -171,7 +171,7 @@ vmservice ClusterIP 172.30.3.149 <none> 27017/TCP 2m
171171

172172
[source,yaml]
173173
----
174-
apiVersion: kubevirt.io/v1alpha3
174+
apiVersion: kubevirt.io/v1
175175
kind: VirtualMachine
176176
metadata:
177177
name: vm-connect

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
@@ -39,7 +39,7 @@ For example:
3939
+
4040
[source,yaml]
4141
----
42-
apiVersion: kubevirt.io/v1alpha3
42+
apiVersion: kubevirt.io/v1
4343
kind: VirtualMachine
4444
metadata:
4545
labels:

modules/virt-example-vm-node-placement-node-affinity.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If possible, the scheduler avoids nodes that have the label `example-node-label-
1414
----
1515
metadata:
1616
name: example-vm-node-affinity
17-
apiVersion: kubevirt.io/v1alpha3
17+
apiVersion: kubevirt.io/v1
1818
kind: VirtualMachine
1919
spec:
2020
affinity:
@@ -38,4 +38,4 @@ spec:
3838
...
3939
----
4040
<1> If you use the `requiredDuringSchedulingIgnoredDuringExecution` rule type, the VM is not scheduled if the constraint is not met.
41-
<2> If you use the `preferredDuringSchedulingIgnoredDuringExecution` rule type, the VM is still scheduled if the constraint is not met, as long as all required constraints are met.
41+
<2> If you use the `preferredDuringSchedulingIgnoredDuringExecution` rule type, the VM is still scheduled if the constraint is not met, as long as all required constraints are met.

modules/virt-example-vm-node-placement-node-selector.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ If there are no nodes that fit this description, the virtual machine is not sche
1717
----
1818
metadata:
1919
name: example-vm-node-selector
20-
apiVersion: kubevirt.io/v1alpha3
20+
apiVersion: kubevirt.io/v1
2121
kind: VirtualMachine
2222
spec:
2323
nodeSelector:
2424
example-key-1: example-value-1
2525
example-key-2: example-value-2
2626
...
27-
----
27+
----

modules/virt-example-vm-node-placement-pod-affinity.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If possible, the VM is not scheduled on a node that has any pod with the label `
1414
----
1515
metadata:
1616
name: example-vm-pod-affinity
17-
apiVersion: kubevirt.io/v1alpha3
17+
apiVersion: kubevirt.io/v1
1818
kind: VirtualMachine
1919
spec:
2020
affinity:
@@ -41,4 +41,4 @@ spec:
4141
...
4242
----
4343
<1> If you use the `requiredDuringSchedulingIgnoredDuringExecution` rule type, the VM is not scheduled if the constraint is not met.
44-
<2> If you use the `preferredDuringSchedulingIgnoredDuringExecution` rule type, the VM is still scheduled if the constraint is not met, as long as all required constraints are met.
44+
<2> If you use the `preferredDuringSchedulingIgnoredDuringExecution` rule type, the VM is still scheduled if the constraint is not met, as long as all required constraints are met.

modules/virt-example-vm-node-placement-tolerations.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A virtual machine that tolerates a taint is not required to schedule onto a node
1717
----
1818
metadata:
1919
name: example-vm-tolerations
20-
apiVersion: kubevirt.io/v1alpha3
20+
apiVersion: kubevirt.io/v1
2121
kind: VirtualMachine
2222
spec:
2323
tolerations:
@@ -26,4 +26,4 @@ spec:
2626
value: "virtualization"
2727
effect: "NoSchedule"
2828
...
29-
----
29+
----

modules/virt-importing-vm-datavolume.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ the virtual machine image you want to import. In this example, a Fedora image is
5454
+
5555
[source,yaml]
5656
----
57-
apiVersion: kubevirt.io/v1alpha3
57+
apiVersion: kubevirt.io/v1
5858
kind: VirtualMachine
5959
metadata:
6060
creationTimestamp: null

0 commit comments

Comments
 (0)