1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/persistent-storage-manila-usage.adoc
2025-08-05 10:10:12 +01:00

36 lines
853 B
Plaintext

// Module included in the following assemblies:
//
// * storage/persistent_storage/persistent-storage-manila.adoc
:_mod-docs-content-type: PROCEDURE
[id="persistent-storage-manila-usage_{context}"]
= Provisioning an {rh-openstack} Manila persistent volume
{rh-openstack-first} Manila shares are dynamically provisioned as needed. When the
PersistentVolumeClaim is deleted the provisioner will automatically
delete and unexport the {rh-openstack} Manila share.
.Prerequisites
* The {rh-openstack} Manila external provisioner must be installed.
.Procedure
* Create a PersistentVolumeClaim using the corresponding
StorageClass.
+
[source,yaml]
----
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: manila-nfs-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2G
storageClassName: manila-share
----