mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * storage/dynamic-provisioning.adoc
|
|
// * microshift_storage/dynamic-provisioning-microshift.adoc
|
|
|
|
|
|
:_mod-docs-content-type: CONCEPT
|
|
[id="defining-storage-classes_{context}"]
|
|
= Defining a storage class
|
|
|
|
`StorageClass` objects are currently a globally scoped object and must be
|
|
created by `cluster-admin` or `storage-admin` users.
|
|
|
|
ifndef::microshift,openshift-rosa,openshift-rosa-hcp[]
|
|
[IMPORTANT]
|
|
====
|
|
The Cluster Storage Operator might install a default storage class depending
|
|
on the platform in use. 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.
|
|
====
|
|
endif::microshift,openshift-rosa,openshift-rosa-hcp[]
|
|
ifdef::openshift-rosa,openshift-rosa-hcp[]
|
|
[IMPORTANT]
|
|
====
|
|
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.
|
|
====
|
|
endif::openshift-rosa,openshift-rosa-hcp[]
|
|
|
|
The following sections describe the basic definition for a
|
|
`StorageClass` object and specific examples for each of the supported plugin types.
|