mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 15:46:57 +01:00
47 lines
1.3 KiB
Plaintext
47 lines
1.3 KiB
Plaintext
// Be sure to set the :StorageClass: and :Provisioner: value in each assembly
|
|
// on the line before the include statement for this module. For example, to
|
|
// set the StorageClass value to "AWS EBS", add the following line to the
|
|
// assembly:
|
|
// :StorageClass: AWS EBS
|
|
// Module included in the following assemblies:
|
|
//
|
|
// * storage/persistent_storage-aws.adoc
|
|
|
|
|
|
|
|
[id="storage-create-{StorageClass}-storage-class_{context}"]
|
|
= Creating the {StorageClass} storage class
|
|
|
|
Storage classes are used to differentiate and delineate storage levels and
|
|
usages. By defining a storage class, users can obtain dynamically provisioned
|
|
persistent volumes.
|
|
|
|
.Procedure
|
|
|
|
. In the {product-title} console, click *Storage* -> *Storage Classes*.
|
|
|
|
. In the storage class overview, click *Create Storage Class*.
|
|
|
|
. Define the desired options on the page that appears.
|
|
|
|
.. Enter a name to reference the storage class.
|
|
|
|
.. Enter an optional description.
|
|
|
|
.. Select the reclaim policy.
|
|
|
|
.. Select `{Provisioner}` from the drop down list.
|
|
+
|
|
|
|
[NOTE]
|
|
====
|
|
For Container Storage Interface (CSI) provisioning, select `ebs.csi.aws.com`.
|
|
====
|
|
|
|
.. Enter additional parameters for the storage class as desired.
|
|
|
|
. Click *Create* to create the storage class.
|
|
|
|
// Undefine {StorageClass} attribute, so that any mistakes are easily spotted
|
|
:!StorageClass:
|