mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
- Find and semi-manually sub in OSP attributes across most mods - RHOSP attribute sub in APIs module
35 lines
818 B
Plaintext
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
|
|
----
|