From 2a84bf3c3d0debeaf2e92b78e2f42735cea698b0 Mon Sep 17 00:00:00 2001 From: hchiramm Date: Mon, 12 Nov 2018 11:46:01 +0530 Subject: [PATCH] Add `customepnameprefix` storage class option. customepnameprefix has been added to glusterfs storage class via PR# https://github.com/kubernetes/kubernetes/pull/69419 This patch add its documentation to example files and README. Signed-off-by: hchiramm --- staging/persistent-volume-provisioning/README.md | 5 +++++ .../glusterfs/glusterfs-storageclass.yaml | 1 + 2 files changed, 6 insertions(+) diff --git a/staging/persistent-volume-provisioning/README.md b/staging/persistent-volume-provisioning/README.md index fd81f971..6f72e1a0 100644 --- a/staging/persistent-volume-provisioning/README.md +++ b/staging/persistent-volume-provisioning/README.md @@ -141,6 +141,7 @@ parameters: volumeoptions: "client.ssl on, server.ssl on" volumenameprefix: "dept-dev" snapfactor: "10" + customepnameprefix: "dbstorage" ``` Example storageclass can be found in [glusterfs-storageclass.yaml](glusterfs/glusterfs-storageclass.yaml). @@ -188,6 +189,10 @@ Please note that, the value for this parameter cannot contain `_` in storageclas *`snapfactor`: Dynamically provisioned volume's thinpool size can be configured with this parameter. The value for the parameter should be in range of 1-100, this value will be taken into account while creating thinpool for the provisioned volume. This is an optional parameter with default value of 1. +* `customepnameprefix` : By default dynamically provisioned volumes has an endpoint and service created with the naming schema of `glusterfs-dynamic-` + 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)) diff --git a/staging/persistent-volume-provisioning/glusterfs/glusterfs-storageclass.yaml b/staging/persistent-volume-provisioning/glusterfs/glusterfs-storageclass.yaml index d572dfcf..87f1e397 100644 --- a/staging/persistent-volume-provisioning/glusterfs/glusterfs-storageclass.yaml +++ b/staging/persistent-volume-provisioning/glusterfs/glusterfs-storageclass.yaml @@ -15,3 +15,4 @@ parameters: volumeoptions: "client.ssl on, server.ssl on" volumenameprefix: "dept-dev" snapfactor: "10" + customepnameprefix: "dbstorage"