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-about-container-disks.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,20 +8,20 @@
8
8
9
9
A container disk is a virtual machine image that is stored as a container image in a container image registry. You can use container disks to deliver the same disk images to multiple virtual machines and to create large numbers of virtual machine clones.
10
10
11
-
A container disk can either be imported into a persistent volume claim (PVC) by using a DataVolume that is attached to a virtual machine, or attached directly to a virtual machine as an ephemeral `containerDisk` volume.
11
+
A container disk can either be imported into a persistent volume claim (PVC) by using a data volume that is attached to a virtual machine, or attached directly to a virtual machine as an ephemeral `containerDisk` volume.
12
12
13
-
== Importing a container disk into a PVC by using a DataVolume
13
+
== Importing a container disk into a PVC by using a data volume
14
14
15
-
Use the Containerized Data Importer (CDI) to import the container disk into a PVC by using a DataVolume. You can then attach the DataVolume to a virtual machine for persistent storage.
15
+
Use the Containerized Data Importer (CDI) to import the container disk into a PVC by using a data volume. You can then attach the data volume to a virtual machine for persistent storage.
16
16
17
17
== Attaching a container disk to a virtual machine as a `containerDisk` volume
18
18
19
19
A `containerDisk` volume is ephemeral. It is discarded when the virtual machine is stopped, restarted, or deleted. When a virtual machine with a `containerDisk` volume starts, the container image is pulled from the registry and hosted on the node that is hosting the virtual machine.
20
20
21
-
Use `containerDisk` volumes for read-only filesystems such as CD-ROMs or for disposable virtual machines.
21
+
Use `containerDisk` volumes for read-only file systems such as CD-ROMs or for disposable virtual machines.
22
22
23
23
[IMPORTANT]
24
24
====
25
-
Using `containerDisk` volumes for read-write filesystems is not recommended because the data is temporarily written to local storage on the hosting node. This slows live migration of the virtual machine, such as in the case of node maintenance, because the data must be migrated to the destination node. Additionally, all data is lost if the node loses power or otherwise shuts down unexpectedly.
25
+
Using `containerDisk` volumes for read-write file systems is not recommended because the data is temporarily written to local storage on the hosting node. This slows live migration of the virtual machine, such as in the case of node maintenance, because the data must be migrated to the destination node. Additionally, all data is lost if the node loses power or otherwise shuts down unexpectedly.
Copy file name to clipboardExpand all lines: modules/virt-about-liveness-readiness-probes.adoc
+3-7Lines changed: 3 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,7 @@
6
6
7
7
= About liveness and readiness probes
8
8
9
-
When a VirtualMachineInstance (VMI) fails, _liveness probes_ stop the VMI.
10
-
Controllers such as VirtualMachine then spawn other VMIs, restoring virtual
11
-
machine responsiveness.
9
+
_Liveness probes_ determine if a virtual machine instance (VMI) is still responding. If the probe fails, the VMI is stopped. A replacement VMI is then created to restore virtual machine responsiveness.
12
10
13
-
_Readiness probes_ tell services and endpoints that the VirtualMachineInstance
14
-
is ready to receive traffic from services. If readiness probes fail,
15
-
the VirtualMachineInstance is removed from
16
-
applicable endpoints until the probe recovers.
11
+
_Readiness probes_ tell services and endpoints that the virtual machine instance
12
+
is ready to receive traffic from services. If readiness probes fail, the virtual machine instance is removed from applicable endpoints until the probe recovers.
DataVolumes require a defined _access mode_ and _volume mode_ to be created in the web console.
8
+
Data volumes require a defined _access mode_ and _volume mode_ to be created in the web console.
9
9
These storage settings are configured by default with a `ReadWriteOnce` access mode and `Filesystem` volume mode.
10
10
11
-
You can modify these settings by editing the `kubevirt-storage-class-defaults` ConfigMap in the `openshift-cnv` namespace.
12
-
You can also add settings for other storage classes in order to create DataVolumes in the web console for different storage types.
11
+
You can modify these settings by editing the `kubevirt-storage-class-defaults` config map in the `openshift-cnv` namespace.
12
+
You can also add settings for other storage classes in order to create data volumes in the web console for different storage types.
13
13
14
14
[NOTE]
15
15
====
16
16
You must configure storage settings that are supported by the underlying storage.
17
17
====
18
18
19
-
All DataVolumes that you create in the web console use the default storage settings unless you specify a storage class that is also defined in the ConfigMap.
19
+
All data volumes that you create in the web console use the default storage settings unless you specify a storage class that is also defined in the config map.
20
20
21
21
[id="virt-datavolumes-access-modes_{context}"]
22
22
== Access modes
23
23
24
-
DataVolumes support the following access modes:
24
+
Data volumes support the following access modes:
25
25
26
26
* `ReadWriteOnce`: The volume can be mounted as read-write by a single node. `ReadWriteOnce` has greater versatility and is the default setting.
27
27
* `ReadWriteMany`: The volume can be mounted as read-write by many nodes. `ReadWriteMany` is required for some features, such as live migration of virtual machines between nodes.
@@ -31,7 +31,7 @@ DataVolumes support the following access modes:
31
31
[id="virt-datavolumes-volume-modes_{context}"]
32
32
== Volume modes
33
33
34
-
The volume mode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. DataVolumes support the following volume modes:
34
+
The volume mode defines if a volume is intended to be used with a formatted file system or to remain in raw block state. Data volumes support the following volume modes:
35
35
36
-
* `Filesystem`: Creates a filesystem on the DataVolume. This is the default setting.
37
-
* `Block`: Creates a block DataVolume. Only use `Block` if the underlying storage supports it.
36
+
* `Filesystem`: Creates a file system on the data volume. This is the default setting.
37
+
* `Block`: Creates a block data volume. Only use `Block` if the underlying storage supports it.
0 commit comments