1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/persistent-storage-manila-usage.adoc
Max Bridges 85d8ff5e0c OpenStack -> common attributes on Welcome page
- Find and semi-manually sub in OSP attributes across most mods

- RHOSP attribute sub in APIs module
2020-06-24 16:07:29 -04:00

35 lines
818 B
Plaintext

// Module included in the following assemblies:
//
// * storage/persistent_storage/persistent-storage-manila.adoc
[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
----