Skip to content

Commit de2efb5

Browse files
author
Bob
committed
OSDOCS-1720-bugs fixes
1 parent 8e34a9f commit de2efb5

7 files changed

+43
-13
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * storage/container_storage_interface/persistent-storage-csi.adoc
4+
5+
[id="csi-drivers-supported_{context}"]
6+
= CSI drivers supported by {product-title}
7+
8+
{product-title} installs certain CSI drivers by default, giving users storage options that are not possible with in-tree volume plug-ins.
9+
10+
To create CSI-provisioned persistent volumes that mount to these supported storage assets, {product-title} installs the necessary CSI driver Operator, the CSI driver, and the required storage class by default. For more details about the default namespace of the Operator and driver, see the documentation for the specific CSI Driver Operator.
11+
12+
The following table describes the CSI drivers that are installed with {product-title} and which CSI features they support, such as volume snapshots, cloning, and resize.
13+
14+
.Supported CSI drivers and features in {product-title}
15+
[cols=",^v,^v,^v, width="100%",options="header"]
16+
|===
17+
|CSI driver |CSI volume snapshots |CSI cloning |CSI resize
18+
19+
|AWS EBS (Tech Preview) | ✅ | - | ✅
20+
|Google Cloud Platform (GCP) persistent disk (PD) (Tech Preview)| ✅ | - | ✅
21+
|OpenStack Cinder | ✅ | ✅ | ✅
22+
|OpenStack Manila | ✅ | ✅ | ✅
23+
|Red Hat Virtualization (oVirt) | - | - | -
24+
|===
25+
26+
[IMPORTANT]
27+
====
28+
If your CSI driver is not listed in the preceding table, you must follow the installation instructions provided by your CSI storage vendor to use their supported CSI features.
29+
====

modules/persistent-storage-csi-snapshots-create.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ metadata:
3636
driver: hostpath.csi.k8s.io
3737
deletionPolicy: Delete
3838
----
39-
<1> Allows you to specify different attributes belonging to a volume snapshot.
4039

4140
+
4241
. Create the object you saved in the previous step by entering the following command:
@@ -62,8 +61,7 @@ spec:
6261
persistentVolumeClaimName: myclaim <2>
6362
----
6463
+
65-
<1> The request for a particular class by the volume snapshot. If `volumeSnapshotClassName` is empty, then no snapshot is created.
66-
64+
<1> The request for a particular class by the volume snapshot. If the `volumeSnapshotClassName` setting is absent and there is a default volume snapshot class, a snapshot is created with the default volume snapshot class name. But if the field is absent and no default volume snapshot class exists, then no snapshot is created.
6765
+
6866
<2> The name of the `PersistentVolumeClaim` object bound to a persistent volume. This defines what you want to create a snapshot of. Required for dynamically provisioning a snapshot.
6967

modules/persistent-storage-csi-snapshots-delete.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To enable deletion of a volume snapshot in a cluster:
1414
. Specify the deletion policy that you require in the `VolumeSnapshotClass` object, as shown in the following example:
1515

1616
+
17-
.volumesnapshot.yaml
17+
.volumesnapshotclass.yaml
1818
[source,yaml]
1919
----
2020
apiVersion: snapshot.storage.k8s.io/v1

modules/persistent-storage-csi-snapshots-operator.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,25 @@
77

88
The CSI Snapshot Controller Operator runs in the `openshift-cluster-storage-operator` namespace. It is installed by the Cluster Version Operator (CVO) in all clusters by default.
99

10-
The CSI Snapshot Controller Operator installs the CSI snapshot controller, which runs in the `csi-snapshot-controller` namespace.
10+
The CSI Snapshot Controller Operator installs the CSI snapshot controller, which runs in the `openshift-cluster-storage-operator` namespace.
1111

1212
== Volume snapshot CRDs
1313

1414
During {product-title} installation, the CSI Snapshot Controller Operator creates the following snapshot custom resource definitions (CRDs) in the `snapshot.storage.k8s.io/v1` API group:
1515

1616
`VolumeSnapshotContent`::
17+
1718
A snapshot taken of a volume in the cluster that has been provisioned by a cluster administrator.
1819
+
19-
Similar to the `PersistentVolume` CRD, the `VolumeSnapshotContent` CRD is a cluster resource that points to a real snapshot in the storage back end.
20+
Similar to the `PersistentVolume` object, the `VolumeSnapshotContent` CRD is a cluster resource that points to a real snapshot in the storage back end.
2021
+
21-
For manually pre-provisioned snapshots, a cluster administrator creates a number of `VolumeSnapshotContent` objects. These carry the details of the real volume snapshot in the storage system.
22+
For manually pre-provisioned snapshots, a cluster administrator creates a number of `VolumeSnapshotContent` CRDs. These carry the details of the real volume snapshot in the storage system.
2223
+
2324
The `VolumeSnapshotContent` CRD is not namespaced and is for use by a cluster administrator.
2425

2526
`VolumeSnapshot`::
2627

27-
Similar to the `PersistentVolumeClaim` CRD, the `VolumeSnapshot` CRD defines a developer request for a snapshot. The CSI Snapshot Controller Operator runs the CSI snapshot controller, which handles the binding of a `VolumeSnapshot` object with an appropriate `VolumeSnapshotContent` object. The binding is a one-to-one mapping.
28+
Similar to the `PersistentVolumeClaim` object, the `VolumeSnapshot` CRD defines a developer request for a snapshot. The CSI Snapshot Controller Operator runs the CSI snapshot controller, which handles the binding of a `VolumeSnapshot` CRD with an appropriate `VolumeSnapshotContent` CRD. The binding is a one-to-one mapping.
2829
+
2930
The `VolumeSnapshot` CRD is namespaced. A developer uses the CRD as a distinct request for a snapshot.
3031

modules/persistent-storage-csi-snapshots-overview.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ With CSI volume snapshots, an app developer can:
2626
Be aware of the following when using volume snapshots:
2727

2828
* Support is only available for CSI drivers. In-tree and FlexVolumes are not supported.
29-
* {product-title} does not ship with any CSI drivers. It is recommended to use the CSI drivers provided by
29+
* {product-title} only ships with select CSI drivers. For CSI drivers that are not provided by an {product-title} Driver Operator, it is recommended to use the CSI drivers provided by
3030
link:https://kubernetes-csi.github.io/docs/drivers.html[community or storage vendors]. Follow the installation instructions provided by the CSI driver.
3131
* CSI drivers may or may not have implemented the volume snapshot functionality. CSI drivers that have provided support for volume snapshots will likely use the `csi-external-snapshotter` sidecar. See documentation provided by the CSI driver for details.
3232
* {product-title} {product-version} supports version 1.1.0 of the link:https://github.com/container-storage-interface/spec[CSI specification].

modules/persistent-storage-csi-snapshots-restore.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
[id="persistent-storage-csi-snapshots-restore_{context}"]
66
= Restoring a volume snapshot
77

8-
After your `VolumeSnapshot` object is bound, you can use that object to provision a new volume that is pre-populated with data from the snapshot.
9-
10-
The volume snapshot content object is used to restore the existing volume to a previous state.
8+
The `VolumeSnapshot` CRD content can be used to restore the existing volume to a previous state.
119

10+
After your `VolumeSnapshot` CRD is bound and the `readyToUse` value is set to `true`, you can use that resource to provision a new volume that is pre-populated with data from the snapshot.
1211
.Prerequisites
1312
* Logged in to a running {product-title} cluster.
1413
* A persistent volume claim (PVC) created using a Container Storage Interface (CSI) driver that supports volume snapshots.
1514
* A storage class to provision the storage back end.
15+
* A volume snapshot has been created and is ready to use.
1616

1717
.Procedure
1818

@@ -57,4 +57,4 @@ $ oc create -f pvc-restore.yaml
5757
$ oc get pvc
5858
----
5959
+
60-
Two different PVCs are displayed.
60+
A new PVC such as `myclaim-restore` is displayed.

storage/container_storage_interface/persistent-storage-csi.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ include::modules/persistent-storage-csi-external-controllers.adoc[leveloffset=+2
2626

2727
include::modules/persistent-storage-csi-driver-daemonset.adoc[leveloffset=+2]
2828

29+
include::modules/persistent-storage-csi-drivers-supported.adoc[leveloffset=+1]
30+
2931
include::modules/persistent-storage-csi-dynamic-provisioning.adoc[leveloffset=+1]
3032

3133
include::modules/persistent-storage-csi-mysql-example.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)