1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/storage/container_storage_interface/persistent-storage-csi-sc-manage.adoc
2025-11-20 17:24:32 +00:00

52 lines
2.8 KiB
Plaintext

:_mod-docs-content-type: ASSEMBLY
[id="persistent-storage-csi-sc-manage"]
= Managing the default storage class
include::_attributes/common-attributes.adoc[]
:context: persistent-storage-csi-sc-manage
toc::[]
== Overview
Managing the default storage class allows you to accomplish several different objectives:
* Enforcing static provisioning by disabling dynamic provisioning.
* When you have other preferred storage classes, preventing the storage operator from re-creating the initial default storage class.
* Renaming, or otherwise changing, the default storage class
To accomplish these objectives, you change the setting for the `spec.storageClassState` field in the `ClusterCSIDriver` object. The possible settings for this field are:
* *Managed*: (Default) The Container Storage Interface (CSI) operator is actively managing its default storage class, so that most manual changes made by a cluster administrator to the default storage class are removed, and the default storage class is continuously re-created if you attempt to manually delete it.
* *Unmanaged*: You can modify the default storage class. The CSI operator is not actively managing storage classes, so that it is not reconciling the default storage class it creates automatically.
* *Removed*: The CSI operators deletes the default storage class.
ifndef::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
Managing the default storage classes is supported by the following Container Storage Interface (CSI) driver operators:
* xref:../../storage/container_storage_interface/persistent-storage-csi-ebs.adoc#persistent-storage-csi-ebs[Amazon Web Services (AWS) Elastic Block Storage (EBS)]
* xref:../../storage/container_storage_interface/persistent-storage-csi-azure.adoc#persistent-storage-csi-azure-disk[Azure Disk]
* xref:../../storage/container_storage_interface/persistent-storage-csi-azure-file.adoc#persistent-storage-csi-azure-file[Azure File]
* xref:../../storage/container_storage_interface/persistent-storage-csi-gcp-pd.adoc#persistent-storage-csi-gcp-pd[Google Cloud Platform (GCP) Persistent Disk (PD)]
* xref:../../storage/container_storage_interface/persistent-storage-csi-ibm-cloud-vpc-block.adoc#persistent-storage-csi-ibm-cloud-vpc-block[{ibm-cloud-name} VPC Block]
* xref:../../storage/container_storage_interface/persistent-storage-csi-cinder.adoc#persistent-storage-csi-cinder[OpenStack Cinder]
* xref:../../storage/container_storage_interface/persistent-storage-csi-vsphere.adoc#persistent-storage-vsphere[VMware vSphere]
endif::openshift-rosa,openshift-rosa-hcp,openshift-dedicated[]
include::modules/persistent-storage-csi-sc-managing.adoc[leveloffset=+1]
include::modules/persistent-storage-csi-sc-managing-cli.adoc[leveloffset=+1]
include::modules/persistent-storage-csi-sc-multiple-none.adoc[leveloffset=+1]
include::modules/dynamic-provisioning-change-default-class.adoc[leveloffset=+1]