Skip to content

Commit c599f9b

Browse files
committed
BZ2110512: fix indents in vm snapshot YAML
1 parent f1f020b commit c599f9b

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

modules/virt-creating-vm-snapshot-cli.adoc

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
:_content-type: PROCEDURE
66
[id="virt-creating-vm-snapshot-cli_{context}"]
7-
= Creating an virtual machine snapshot in the CLI
7+
= Creating a virtual machine snapshot in the CLI
88

99
You can create a virtual machine (VM) snapshot for an offline or online VM by creating a `VirtualMachineSnapshot` object. Kubevirt will coordinate with the QEMU guest agent to create a snapshot of the online VM.
1010

@@ -89,40 +89,40 @@ $ oc describe vmsnapshot <my-vmsnapshot>
8989
apiVersion: snapshot.kubevirt.io/v1alpha1
9090
kind: VirtualMachineSnapshot
9191
metadata:
92-
creationTimestamp: "2020-09-30T14:41:51Z"
93-
finalizers:
94-
- snapshot.kubevirt.io/vmsnapshot-protection
95-
generation: 5
96-
name: mysnap
97-
namespace: default
98-
resourceVersion: "3897"
99-
selfLink: /apis/snapshot.kubevirt.io/v1alpha1/namespaces/default/virtualmachinesnapshots/my-vmsnapshot
100-
uid: 28eedf08-5d6a-42c1-969c-2eda58e2a78d
92+
creationTimestamp: "2020-09-30T14:41:51Z"
93+
finalizers:
94+
- snapshot.kubevirt.io/vmsnapshot-protection
95+
generation: 5
96+
name: mysnap
97+
namespace: default
98+
resourceVersion: "3897"
99+
selfLink: /apis/snapshot.kubevirt.io/v1alpha1/namespaces/default/virtualmachinesnapshots/my-vmsnapshot
100+
uid: 28eedf08-5d6a-42c1-969c-2eda58e2a78d
101101
spec:
102-
source:
103-
apiGroup: kubevirt.io
104-
kind: VirtualMachine
105-
name: my-vm
102+
source:
103+
apiGroup: kubevirt.io
104+
kind: VirtualMachine
105+
name: my-vm
106106
status:
107-
conditions:
107+
conditions:
108108
- lastProbeTime: null
109-
lastTransitionTime: "2020-09-30T14:42:03Z"
110-
reason: Operation complete
111-
status: "False" <1>
112-
type: Progressing
109+
lastTransitionTime: "2020-09-30T14:42:03Z"
110+
reason: Operation complete
111+
status: "False" <1>
112+
type: Progressing
113113
- lastProbeTime: null
114-
lastTransitionTime: "2020-09-30T14:42:03Z"
115-
reason: Operation complete
116-
status: "True" <2>
117-
type: Ready
118-
creationTime: "2020-09-30T14:42:03Z"
119-
readyToUse: true <3>
120-
sourceUID: 355897f3-73a0-4ec4-83d3-3c2df9486f4f
121-
virtualMachineSnapshotContentName: vmsnapshot-content-28eedf08-5d6a-42c1-969c-2eda58e2a78d <4>
114+
lastTransitionTime: "2020-09-30T14:42:03Z"
115+
reason: Operation complete
116+
status: "True" <2>
117+
type: Ready
118+
creationTime: "2020-09-30T14:42:03Z"
119+
readyToUse: true <3>
120+
sourceUID: 355897f3-73a0-4ec4-83d3-3c2df9486f4f
121+
virtualMachineSnapshotContentName: vmsnapshot-content-28eedf08-5d6a-42c1-969c-2eda58e2a78d <4>
122122
----
123123
<1> The `status` field of the `Progressing` condition specifies if the snapshot is still being created.
124124
<2> The `status` field of the `Ready` condition specifies if the snapshot creation process is complete.
125125
<3> Specifies if the snapshot is ready to be used.
126126
<4> Specifies that the snapshot is bound to a `VirtualMachineSnapshotContent` object created by the snapshot controller.
127127

128-
. Check the `spec:volumeBackups` property of the `VirtualMachineSnapshotContent` resource to verify that the expected PVCs are included in the snapshot.
128+
. Check the `spec:volumeBackups` property of the `VirtualMachineSnapshotContent` resource to verify that the expected PVCs are included in the snapshot.

0 commit comments

Comments
 (0)