Add `volumenameprefix` storageclass parameter in GlusterFS
dynamic PV provisioning example section. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
3c2ef9e0d5
commit
7f00f3efe6
|
|
@ -101,7 +101,7 @@ For a complete example refer ([Portworx Volume docs](../volumes/portworx/README.
|
|||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: slow
|
||||
name: fast
|
||||
provisioner: kubernetes.io/glusterfs
|
||||
parameters:
|
||||
resturl: "http://127.0.0.1:8081"
|
||||
|
|
@ -151,6 +151,12 @@ For available volume types and its administration options refer: ([Administratio
|
|||
|
||||
For available volume options and its administration refer: ([Administration Guide](https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.2/html/administration_guide/chap-managing_red_hat_storage_volumes))
|
||||
|
||||
* `volumenameprefix` : By default dynamically provisioned volumes has the naming schema of `vol_UUID` format. With this option present in storageclass, an admin can now prefix the desired volume name from storageclass. If `volumenameprefix` storageclass parameter is set, the dynamically provisioned volumes are created in below format where `_` is the field seperator/delimiter:
|
||||
|
||||
`customvolumeprefix_PVCname_randomUUID`
|
||||
|
||||
Please note that, the value for this parameter cannot contain `_` in storageclass. This is an optional parameter.
|
||||
|
||||
Reference : ([How to configure Gluster on Kubernetes](https://github.com/gluster/gluster-kubernetes/blob/master/docs/setup-guide.md))
|
||||
|
||||
Reference : ([How to configure Heketi](https://github.com/heketi/heketi/wiki/Setting-up-the-topology))
|
||||
|
|
|
|||
|
|
@ -13,3 +13,4 @@ parameters:
|
|||
gidMax: "50000"
|
||||
volumetype: "replicate:3"
|
||||
volumeoptions: "client.ssl on, server.ssl on"
|
||||
volumenameprefix: "dept-dev"
|
||||
|
|
|
|||
Loading…
Reference in New Issue