Skip to content

Commit e3f3b40

Browse files
committed
OSDOCS-3996-port-storage-book-osd-rosa
1 parent 9a252bd commit e3f3b40

File tree

58 files changed

+503
-450
lines changed

Some content is hidden

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

58 files changed

+503
-450
lines changed

_topic_maps/_topic_map_osd.yml

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,14 +195,36 @@ Name: Storage
195195
Dir: storage
196196
Distros: openshift-dedicated
197197
Topics:
198-
- Name: Persistent storage
198+
- Name: Storage overview
199+
File: index
200+
- Name: Understanding ephemeral storage
201+
File: understanding-ephemeral-storage
202+
- Name: Understanding persistent storage
203+
File: understanding-persistent-storage
204+
- Name: Configuring persistent storage
199205
Dir: persistent_storage
200-
Distros: openshift-dedicated
201206
Topics:
202-
- Name: Persistent storage using AWS EFS
203-
File: osd-persistent-storage-aws
204-
- Name: AWS Elastic File Service CSI Driver Operator
205-
File: osd-persistent-storage-aws-efs-csi
207+
- Name: Persistent storage using AWS Elastic Block Store
208+
File: persistent-storage-aws
209+
- Name: Persistent storage using GCE Persistent Disk
210+
File: persistent-storage-gce
211+
- Name: Using Container Storage Interface (CSI)
212+
Dir: container_storage_interface
213+
Topics:
214+
- Name: Configuring CSI volumes
215+
File: persistent-storage-csi
216+
- Name: AWS Elastic Block Store CSI Driver Operator
217+
File: persistent-storage-csi-ebs
218+
- Name: AWS Elastic File Service CSI Driver Operator
219+
File: osd-persistent-storage-aws-efs-csi
220+
- Name: GCP PD CSI Driver Operator
221+
File: persistent-storage-csi-gcp-pd
222+
#- Name: GCP Filestore CSI Driver Operator
223+
# File: persistent-storage-csi-google-cloud-file
224+
- Name: Generic ephemeral volumes
225+
File: generic-ephemeral-vols
226+
- Name: Dynamic provisioning
227+
File: dynamic-provisioning
206228
---
207229
Name: Networking
208230
Dir: networking

_topic_maps/_topic_map_rosa.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -279,22 +279,34 @@ Topics:
279279
- Name: Available services
280280
File: rosa-available-services
281281
---
282-
Name: Storage and registry
282+
Name: Storage
283283
Dir: storage
284284
Distros: openshift-rosa
285285
Topics:
286-
# - Name: Configuring the internal registry
287-
# File: configuring-registry-operator
288-
- Name: Persistent storage
286+
- Name: Storage overview
287+
File: index
288+
- Name: Understanding ephemeral storage
289+
File: understanding-ephemeral-storage
290+
- Name: Understanding persistent storage
291+
File: understanding-persistent-storage
292+
- Name: Configuring persistent storage
289293
Dir: persistent_storage
290-
Distros: openshift-rosa
291294
Topics:
292295
- Name: Persistent storage using AWS Elastic Block Store
293-
File: rosa-persistent-storage-aws-ebs
294-
- Name: Persistent storage using AWS Elastic File Service
295-
File: osd-persistent-storage-aws
296+
File: persistent-storage-aws
297+
- Name: Using Container Storage Interface (CSI)
298+
Dir: container_storage_interface
299+
Topics:
300+
- Name: Configuring CSI volumes
301+
File: persistent-storage-csi
302+
- Name: AWS Elastic Block Store CSI Driver Operator
303+
File: persistent-storage-csi-ebs
296304
- Name: AWS Elastic File Service CSI Driver Operator
297-
File: rosa-persistent-storage-aws-efs-csi
305+
File: osd-persistent-storage-aws-efs-csi
306+
- Name: Generic ephemeral volumes
307+
File: generic-ephemeral-vols
308+
- Name: Dynamic provisioning
309+
File: dynamic-provisioning
298310
---
299311
Name: Networking
300312
Dir: networking

modules/dynamic-provisioning-available-plugins.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,23 @@ configured provider's API to create new storage resources:
1818
|Provisioner plugin name
1919
|Notes
2020

21+
ifndef::openshift-dedicated,openshift-rosa[]
2122
|{rh-openstack-first} Cinder
2223
|`kubernetes.io/cinder`
2324
|
2425

2526
|{rh-openstack} Manila Container Storage Interface (CSI)
2627
|`manila.csi.openstack.org`
2728
|Once installed, the OpenStack Manila CSI Driver Operator and ManilaDriver automatically create the required storage classes for all available Manila share types needed for dynamic provisioning.
29+
endif::openshift-dedicated,openshift-rosa[]
2830

2931
|AWS Elastic Block Store (EBS)
3032
|`kubernetes.io/aws-ebs`
3133
|For dynamic provisioning when using multiple clusters in different zones,
3234
tag each node with `Key=kubernetes.io/cluster/<cluster_name>,Value=<cluster_id>`
3335
where `<cluster_name>` and `<cluster_id>` are unique per cluster.
3436

37+
ifndef::openshift-dedicated,openshift-rosa[]
3538
|Azure Disk
3639
|`kubernetes.io/azure-disk`
3740
|
@@ -40,12 +43,15 @@ where `<cluster_name>` and `<cluster_id>` are unique per cluster.
4043
|`kubernetes.io/azure-file`
4144
|The `persistent-volume-binder` service account requires permissions to create
4245
and get secrets to store the Azure storage account and keys.
46+
endif::openshift-dedicated,openshift-rosa[]
4347

48+
ifndef::openshift-rosa[]
4449
|GCE Persistent Disk (gcePD)
4550
|`kubernetes.io/gce-pd`
4651
|In multi-zone configurations, it is advisable to run one {product-title}
4752
cluster per GCE project to avoid PVs from being created in zones where
4853
no node in the current cluster exists.
54+
endif::openshift-rosa[]
4955

5056
//|GlusterFS
5157
//|`kubernetes.io/glusterfs`
@@ -59,9 +65,11 @@ no node in the current cluster exists.
5965
//|`netapp.io/trident`
6066
//|Storage orchestrator for NetApp ONTAP, SolidFire, and E-Series storage.
6167

68+
ifndef::openshift-dedicated,openshift-rosa[]
6269
|link:https://www.vmware.com/support/vsphere.html[VMware vSphere]
6370
|`kubernetes.io/vsphere-volume`
6471
|
72+
endif::openshift-dedicated,openshift-rosa[]
6573

6674
//|HPE Nimble Storage
6775
//|`hpe.com/nimble`

modules/dynamic-provisioning-aws-definition.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ parameters:
2222
fsType: ext4 <6>
2323
----
2424
<1> (required) Name of the storage class. The persistent volume claim uses this storage class for provisioning the associated persistent volumes.
25-
<2> (required) Select from `io1`, `gp2`, `sc1`, `st1`. The default is `gp2`.
25+
<2> (required) Select from `io1`, `gp3`, `sc1`, `st1`. The default is `gp3`.
2626
See the
2727
link:http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html[AWS documentation]
2828
for valid Amazon Resource Name (ARN) values.

modules/dynamic-provisioning-change-default-class.adoc

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88
[id="change-default-storage-class_{context}"]
99
= Changing the default storage class
1010

11-
Use the following process to change the default storage class.
12-
For example you have two defined storage classes, `gp2` and `standard`, and you want to change the default storage class from `gp2` to `standard`.
11+
Use this procedure to change the default storage class.
12+
For example, you have two defined storage classes, `gp3` and `standard`, and you want to change the default storage class from `gp3` to `standard`.
1313

14-
. List the storage class:
14+
.Procedure
15+
16+
. List the storage classes:
1517
+
1618
[source,terminal]
1719
----
@@ -22,7 +24,7 @@ $ oc get storageclass
2224
[source,terminal]
2325
----
2426
NAME TYPE
25-
gp2 (default) kubernetes.io/aws-ebs <1>
27+
gp3 (default) kubernetes.io/aws-ebs <1>
2628
standard kubernetes.io/aws-ebs
2729
----
2830
<1> `(default)` denotes the default storage class.
@@ -31,7 +33,7 @@ standard kubernetes.io/aws-ebs
3133
+
3234
[source,terminal]
3335
----
34-
$ oc patch storageclass gp2 -p '{"metadata": {"annotations": {"storageclass.kubernetes.io/is-default-class": "false"}}}'
36+
$ oc patch storageclass gp3 -p '{"metadata": {"annotations": {"storageclass.kubernetes.io/is-default-class": "false"}}}'
3537
----
3638

3739
. Make another storage class the default by setting the `storageclass.kubernetes.io/is-default-class` annotation to `true`:
@@ -52,6 +54,6 @@ $ oc get storageclass
5254
[source,terminal]
5355
----
5456
NAME TYPE
55-
gp2 kubernetes.io/aws-ebs
57+
gp3 kubernetes.io/aws-ebs
5658
standard (default) kubernetes.io/aws-ebs
5759
----

modules/dynamic-provisioning-defining-storage-class.adoc

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@
1111
`StorageClass` objects are currently a globally scoped object and must be
1212
created by `cluster-admin` or `storage-admin` users.
1313

14-
ifndef::microshift[]
14+
ifndef::microshift,openshift-rosa[]
1515
[IMPORTANT]
1616
====
1717
The Cluster Storage Operator might install a default storage class depending
1818
on the platform in use. This storage class is owned and controlled by the
19-
operator. It cannot be deleted or modified beyond defining annotations
19+
Operator. It cannot be deleted or modified beyond defining annotations
2020
and labels. If different behavior is desired, you must define a custom
2121
storage class.
2222
====
23-
endif::microshift[]
23+
endif::microshift,openshift-rosa[]
24+
ifdef::openshift-rosa[]
25+
[IMPORTANT]
26+
====
27+
The Cluster Storage Operator installs a default storage class. This storage class is owned and controlled by the Operator. It cannot be deleted or modified beyond defining annotations and labels. If different behavior is desired, you must define a custom storage class.
28+
====
29+
endif::openshift-rosa[]
2430

2531
The following sections describe the basic definition for a
2632
`StorageClass` object and specific examples for each of the supported plugin types.

modules/dynamic-provisioning-storage-class-definition.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ metadata:
2525
...
2626
provisioner: kubernetes.io/aws-ebs <5>
2727
parameters: <6>
28-
type: gp2
28+
type: gp3
2929
...
3030
----
3131
<1> (required) The API object type.

modules/openshift-storage-common-terms.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Access modes:: Volume access modes describe volume capabilities. You can use acc
1515
* ReadWriteMany (RWX)
1616
* ReadWriteOncePod (RWOP)
1717
18+
ifndef::openshift-dedicated,openshift-rosa[]
1819
Cinder:: The Block Storage service for {rh-openstack-first} which manages the administration, security, and scheduling of all volumes.
20+
endif::openshift-dedicated,openshift-rosa[]
1921

2022
Config map:: A config map provides a way to inject configuration data into pods. You can reference the data stored in a config map in a volume of type `ConfigMap`. Applications running in a pod can use this data.
2123

@@ -28,14 +30,18 @@ The framework allows you to create storage volumes on-demand, eliminating the ne
2830
Ephemeral storage::
2931
Pods and containers can require temporary or transient local storage for their operation. The lifetime of this ephemeral storage does not extend beyond the life of the individual pod, and this ephemeral storage cannot be shared across pods.
3032

33+
ifndef::openshift-dedicated,openshift-rosa[]
3134
Fiber channel:: A networking technology that is used to transfer data among data centers, computer servers, switches and storage.
3235

3336
FlexVolume:: FlexVolume is an out-of-tree plugin interface that uses an exec-based model to interface with storage drivers. You must install the FlexVolume driver binaries in a pre-defined volume plugin path on each node and in some cases the control plane nodes.
37+
endif::openshift-dedicated,openshift-rosa[]
3438

3539
fsGroup:: The fsGroup defines a file system group ID of a pod.
3640

41+
ifndef::openshift-dedicated,openshift-rosa[]
3742
iSCSI:: Internet Small Computer Systems Interface (iSCSI) is an Internet Protocol-based storage networking standard for linking data storage facilities.
3843
An iSCSI volume allows an existing iSCSI (SCSI over IP) volume to be mounted into your Pod.
44+
endif::openshift-dedicated,openshift-rosa[]
3945

4046
hostPath::
4147
A hostPath volume in an OpenShift Container Platform cluster mounts a file or directory from the host node’s filesystem into your pod.
@@ -44,7 +50,9 @@ KMS key:: The Key Management Service (KMS) helps you achieve the required level
4450

4551
Local volumes:: A local volume represents a mounted local storage device such as a disk, partition or directory.
4652

53+
ifndef::openshift-dedicated,openshift-rosa[]
4754
NFS:: A Network File System (NFS) that allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. This enables system administrators to consolidate resources onto centralized servers on the network.
55+
endif::openshift-dedicated,openshift-rosa[]
4856

4957
OpenShift Data Foundation::
5058
A provider of agnostic persistent storage for OpenShift Container Platform supporting file, block, and object storage, either in-house or in hybrid clouds
@@ -75,4 +83,6 @@ Storage:: {product-title} supports many types of storage, both for on-premise an
7583

7684
Storage class:: A storage class provides a way for administrators to describe the classes of storage they offer. Different classes might map to quality of service levels, backup policies, arbitrary policies determined by the cluster administrators.
7785

86+
ifndef::openshift-dedicated,openshift-rosa[]
7887
VMware vSphere’s Virtual Machine Disk (VMDK) volumes:: Virtual Machine Disk (VMDK) is a file format that describes containers for virtual hard disk drives that is used in virtual machines.
88+
endif::openshift-dedicated,openshift-rosa[]

0 commit comments

Comments
 (0)