mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
35 lines
792 B
Plaintext
35 lines
792 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * storage/persistent-storage/persistent-storage-manila.adoc
|
|
|
|
[id="persistent-storage-manila-usage_{context}"]
|
|
= Provisioning an OpenStack Manila persistent volume
|
|
|
|
OpenStack Manila shares are dynamically provisioned as needed. When the
|
|
PersistentVolumeClaim is deleted the provisioner will automatically
|
|
delete and unexport the OpenStack Manila share.
|
|
|
|
.Prerequisites
|
|
|
|
* The 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
|
|
----
|