docs: update versions to v1 in vm presets.md
@@ -116,7 +116,7 @@ Simple `VirtualMachineInstancePreset` Example
------------------------
```yaml
-apiVersion: kubevirt.io/v1alpha2
+apiVersion: kubevirt.io/v1
kind: VirtualMachineInstancePreset
metadata:
name: example-preset
@@ -134,7 +134,7 @@ spec:
spinlocks:
spinlocks: 8191
---
-apiVersion: kubevirt.io/v1alpha2
+apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
version: v1
metadata:
@@ -154,17 +154,17 @@ resulting resource would look like this:
```yaml
apiVersion: v1
items:
-- apiVersion: kubevirt.io/v1alpha2
+- apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
metadata:
annotations:
- presets.virtualmachines.kubevirt.io/presets-applied: kubevirt.io/v1alpha2
- virtualmachinepreset.kubevirt.io/example-preset: kubevirt.io/v1alpha2
+ presets.virtualmachines.kubevirt.io/presets-applied: kubevirt.io/v1
+ virtualmachinepreset.kubevirt.io/example-preset: kubevirt.io/v1
labels:
kubevirt.io/flavor: windows-10
name: myvm
namespace: default
- selfLink: /apis/kubevirt.io/v1alpha2/namespaces/default/virtualmachineinstances/myvm
+ selfLink: /apis/kubevirt.io/v1/namespaces/default/virtualmachineinstances/myvm
spec:
domain:
devices: {}
@@ -204,7 +204,7 @@ and `VirtualMachineInstancePreset` request different number of CPU's.
```yaml
-apiVersion: kubevirt.io/v1alpha2
+apiVersion: kubevirt.io/v1
kind: VirtualMachineInstancePreset
metadata:
name: example-preset
@@ -216,7 +216,7 @@ spec:
cpu:
cores: 4
---
-apiVersion: kubevirt.io/v1alpha2
+apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
version: v1
metadata:
@@ -235,17 +235,17 @@ In this case the `VirtualMachineInstance` Spec will remain unmodified. Use
```yaml
apiVersion: v1
items:
-- apiVersion: kubevirt.io/v1alpha2
+- apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
metadata:
annotations:
- presets.virtualmachines.kubevirt.io/presets-applied: kubevirt.io/v1alpha2
+ presets.virtualmachines.kubevirt.io/presets-applied: kubevirt.io/v1
clusterName: ""
labels:
kubevirt.io/flavor: default-features
name: myvm
namespace: default
- selfLink: /apis/kubevirt.io/v1alpha2/namespaces/default/virtualmachineinstances/myvm
+ selfLink: /apis/kubevirt.io/v1/namespaces/default/virtualmachineinstances/myvm
spec:
domain:
cpu:
