Skip to content

Commit 424d668

Browse files
Merge pull request #27562 from aburdenthehand/cnv-api-style-test
CNV - API object style changes
2 parents d3c91e6 + e862aa5 commit 424d668

File tree

142 files changed

+538
-607
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+538
-607
lines changed

_topic_map.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,7 +2337,7 @@ Topics:
23372337
File: virt-installing-qemu-guest-agent
23382338
- Name: Viewing the QEMU guest agent information for virtual machines
23392339
File: virt-viewing-qemu-guest-agent-web
2340-
- Name: Managing ConfigMaps, secrets, and service accounts in virtual machines
2340+
- Name: Managing config maps, secrets, and service accounts in virtual machines
23412341
File: virt-managing-configmaps-secrets-service-accounts
23422342
- Name: Installing VirtIO driver on an existing Windows virtual machine
23432343
File: virt-installing-virtio-drivers-on-existing-windows-vm
@@ -2363,11 +2363,11 @@ Topics:
23632363
- Name: Importing virtual machines
23642364
Dir: importing_vms
23652365
Topics:
2366-
- Name: TLS certificates for DataVolume imports
2366+
- Name: TLS certificates for data volume imports
23672367
File: virt-tls-certificates-for-dv-imports
2368-
- Name: Importing virtual machine images with DataVolumes
2368+
- Name: Importing virtual machine images with data volumes
23692369
File: virt-importing-virtual-machine-images-datavolumes
2370-
- Name: Importing virtual machine images to block storage with DataVolumes
2370+
- Name: Importing virtual machine images to block storage with data volumes
23712371
File: virt-importing-virtual-machine-images-datavolumes-block
23722372
- Name: Importing a Red Hat Virtualization virtual machine
23732373
File: virt-importing-rhv-vm
@@ -2377,19 +2377,19 @@ Topics:
23772377
- Name: Cloning virtual machines
23782378
Dir: cloning_vms
23792379
Topics:
2380-
- Name: Enabling user permissions to clone DataVolumes across namespaces
2380+
- Name: Enabling user permissions to clone data volumes across namespaces
23812381
File: virt-enabling-user-permissions-to-clone-datavolumes
2382-
- Name: Cloning a virtual machine disk into a new DataVolume
2382+
- Name: Cloning a virtual machine disk into a new data volume
23832383
File: virt-cloning-vm-disk-into-new-datavolume
2384-
- Name: Cloning a virtual machine by using a DataVolumeTemplate
2384+
- Name: Cloning a virtual machine by using a data volume template
23852385
File: virt-cloning-vm-using-datavolumetemplate
2386-
- Name: Cloning a virtual machine disk into a new block storage DataVolume
2386+
- Name: Cloning a virtual machine disk into a new block storage data volume
23872387
File: virt-cloning-vm-disk-into-new-datavolume-block
23882388
# Virtual machine networking
23892389
- Name: Virtual machine networking
23902390
Dir: vm_networking
23912391
Topics:
2392-
- Name: Using the default Pod network with OpenShift Virtualization
2392+
- Name: Using the default pod network with OpenShift Virtualization
23932393
File: virt-using-the-default-pod-network-with-virt
23942394
- Name: Attaching a virtual machine to multiple networks
23952395
File: virt-attaching-vm-multiple-networks
@@ -2417,17 +2417,17 @@ Topics:
24172417
File: virt-uploading-local-disk-images-web
24182418
- Name: Uploading local disk images by using the virtctl tool
24192419
File: virt-uploading-local-disk-images-virtctl
2420-
- Name: Uploading a local disk image to a block storage DataVolume
2420+
- Name: Uploading a local disk image to a block storage data volume
24212421
File: virt-uploading-local-disk-images-block
24222422
- Name: Managing offline virtual machine snapshots
24232423
File: virt-managing-offline-vm-snapshots
24242424
- Name: Moving a local virtual machine disk to a different node
24252425
File: virt-moving-local-vm-disk-to-different-node
24262426
- Name: Expanding virtual storage by adding blank disk images
24272427
File: virt-expanding-virtual-storage-with-blank-disk-images
2428-
- Name: Cloning a DataVolume using smart-cloning
2428+
- Name: Cloning a data volume using smart-cloning
24292429
File: virt-cloning-a-datavolume-using-smart-cloning
2430-
- Name: Storage defaults for DataVolumes
2430+
- Name: Storage defaults for data volumes
24312431
File: virt-storage-defaults-for-datavolumes
24322432
- Name: Creating and using default OS images
24332433
File: virt-creating-and-using-default-os-images
@@ -2437,7 +2437,7 @@ Topics:
24372437
File: virt-preparing-cdi-scratch-space
24382438
- Name: Re-using statically provisioned persistent volumes
24392439
File: virt-reusing-statically-provisioned-persistent-volumes
2440-
- Name: Deleting DataVolumes
2440+
- Name: Deleting data volumes
24412441
File: virt-deleting-datavolumes
24422442
# Templates
24432443
- Name: Virtual machine templates
@@ -2499,7 +2499,7 @@ Topics:
24992499
File: virt-logs
25002500
- Name: Viewing events
25012501
File: virt-events
2502-
- Name: Diagnosing DataVolumes using events and conditions
2502+
- Name: Diagnosing data volumes using events and conditions
25032503
File: virt-diagnosing-datavolumes-using-events-and-conditions
25042504
- Name: Viewing information about virtual machine workloads
25052505
File: virt-viewing-information-about-vm-workloads

modules/virt-about-block-pvs.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
// * virt/virtual_machines/importing_vms/virt-importing-virtual-machine-images-datavolumes-block.adoc
66

77
[id="virt-about-block-pvs_{context}"]
8-
= About block PersistentVolumes
8+
= About block persistent volumes
99

10-
A block PersistentVolume (PV) is a PV that is backed by a raw block device. These volumes
11-
do not have a filesystem and can provide performance benefits for
10+
A block persistent volume (PV) is a PV that is backed by a raw block device. These volumes
11+
do not have a file system and can provide performance benefits for
1212
virtual machines by reducing overhead.
1313

1414
Raw block volumes are provisioned by specifying `volumeMode: Block` in the
15-
PV and PersistentVolumeClaim (PVC) specification.
15+
PV and persistent volume claim (PVC) specification.

modules/virt-about-collecting-virt-data.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cluster, including features and objects associated with {VirtProductName}:
1313
* The Hyperconverged Cluster Operator namespaces (and child objects)
1414
* All namespaces (and their child objects) that belong to any {VirtProductName}
1515
resources
16-
* All {VirtProductName} Custom Resource Definitions (CRDs)
16+
* All {VirtProductName} custom resource definitions (CRDs)
1717
* All namespaces that contain virtual machines
1818
* All virtual machine definitions
1919

modules/virt-about-conditions-and-events.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[id="virt-about-conditions-and-events.adoc_{context}"]
66
= About conditions and events
77

8-
Diagnose DataVolume issues by examining the output of the `Conditions` and `Events` sections
8+
Diagnose data volume issues by examining the output of the `Conditions` and `Events` sections
99
generated by the command:
1010

1111
[source,terminal]
@@ -29,7 +29,7 @@ The `Events` section provides the following additional information:
2929
The output from `oc describe` does not always contains `Events`.
3030

3131
An event is generated when either `Status`, `Reason`, or `Message` changes.
32-
Both conditions and events react to changes in the state of the DataVolume.
32+
Both conditions and events react to changes in the state of the data volume.
3333

3434
For example, if you misspell the URL during an import operation, the import
3535
generates a 404 message. That message change generates an event with a reason.

modules/virt-about-container-disks.adoc

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

99
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.
1010

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.
1212

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
1414

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.
1616

1717
== Attaching a container disk to a virtual machine as a `containerDisk` volume
1818

1919
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.
2020

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.
2222

2323
[IMPORTANT]
2424
====
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.
2626
====
2727

modules/virt-about-datavolumes.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
// * virt/virtual_machines/importing_vms/virt-importing-virtual-machine-images-datavolumes-block.adoc
1212

1313
[id="virt-about-datavolumes_{context}"]
14-
= About DataVolumes
14+
= About data volumes
1515

1616
`DataVolume` objects are custom resources that are provided by the Containerized
17-
Data Importer (CDI) project. DataVolumes orchestrate import, clone, and upload
18-
operations that are associated with an underlying PersistentVolumeClaim (PVC).
19-
DataVolumes are integrated with KubeVirt, and they prevent a virtual machine
17+
Data Importer (CDI) project. Data volumes orchestrate import, clone, and upload
18+
operations that are associated with an underlying persistent volume claim (PVC).
19+
Data volumes are integrated with {VirtProductName}, and they prevent a virtual machine
2020
from being started before the PVC has been prepared.

modules/virt-about-hostpath-provisioner.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ When you install the {VirtProductName} Operator, the hostpath provisioner Operat
1313
is automatically installed. To use it, you must:
1414

1515
* Configure SELinux:
16-
** If you use Red Hat Enterprise Linux CoreOS 8 workers, you must create a MachineConfig
16+
** If you use Red Hat Enterprise Linux CoreOS 8 workers, you must create a `MachineConfig`
1717
object on each node.
18-
** Otherwise, apply the SELinux label `container_file_t` to the PersistentVolume (PV) backing
18+
** Otherwise, apply the SELinux label `container_file_t` to the persistent volume (PV) backing
1919
directory on each node.
20-
* Create a HostPathProvisioner custom resource.
20+
* Create a `HostPathProvisioner` custom resource.
2121
* Create a `StorageClass` object for the hostpath provisioner.
2222

2323
The hostpath provisioner Operator deploys the provisioner as a _DaemonSet_ on each
2424
node when you create its custom resource. In the custom resource file, you specify
25-
the backing directory for the PersistentVolumes that the hostpath provisioner
25+
the backing directory for the persistent volumes that the hostpath provisioner
2626
creates.

modules/virt-about-liveness-readiness-probes.adoc

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66

77
= About liveness and readiness probes
88

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.
1210

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.

modules/virt-about-storage-setting-for-datavolumes.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
// * virt/virtual_machines/virtual_disks/virt-storage-defaults-for-datavolumes.adoc
44

55
[id="virt-about-kubevirtstorageclassdefaults_{context}"]
6-
= About storage settings for DataVolumes
6+
= About storage settings for data volumes
77

8-
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.
99
These storage settings are configured by default with a `ReadWriteOnce` access mode and `Filesystem` volume mode.
1010

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.
1313

1414
[NOTE]
1515
====
1616
You must configure storage settings that are supported by the underlying storage.
1717
====
1818

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.
2020

2121
[id="virt-datavolumes-access-modes_{context}"]
2222
== Access modes
2323

24-
DataVolumes support the following access modes:
24+
Data volumes support the following access modes:
2525

2626
* `ReadWriteOnce`: The volume can be mounted as read-write by a single node. `ReadWriteOnce` has greater versatility and is the default setting.
2727
* `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:
3131
[id="virt-datavolumes-volume-modes_{context}"]
3232
== Volume modes
3333

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:
3535

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.

modules/virt-about-upgrading-virt.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ virtual machine.
2828
+
2929
[NOTE]
3030
====
31-
Each virtual machine has a `virt-launcher` Pod that runs the virtual machine
32-
instance. The `virt-launcher` Pod runs an instance of `libvirt`, which is
31+
Each virtual machine has a `virt-launcher` pod that runs the virtual machine
32+
instance. The `virt-launcher` pod runs an instance of `libvirt`, which is
3333
used to manage the virtual machine process.
3434
====
3535

3636
* Upgrading does not interrupt network connections.
3737

38-
* DataVolumes and their associated PersistentVolumeClaims are preserved during
38+
* Data volumes and their associated persistent volume claims are preserved during
3939
upgrade.
4040
+
4141
[IMPORTANT]

0 commit comments

Comments
 (0)