diff --git a/staging/persistent-volume-provisioning/README.md b/staging/persistent-volume-provisioning/README.md index 0837f192..fd81f971 100644 --- a/staging/persistent-volume-provisioning/README.md +++ b/staging/persistent-volume-provisioning/README.md @@ -140,6 +140,7 @@ parameters: volumetype: "replicate:3" volumeoptions: "client.ssl on, server.ssl on" volumenameprefix: "dept-dev" + snapfactor: "10" ``` Example storageclass can be found in [glusterfs-storageclass.yaml](glusterfs/glusterfs-storageclass.yaml). @@ -185,6 +186,8 @@ For available volume options and its administration refer: ([Administration Guid Please note that, the value for this parameter cannot contain `_` in storageclass. This is an optional parameter. +*`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. + 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 c3a409d0..d572dfcf 100644 --- a/staging/persistent-volume-provisioning/glusterfs/glusterfs-storageclass.yaml +++ b/staging/persistent-volume-provisioning/glusterfs/glusterfs-storageclass.yaml @@ -14,3 +14,4 @@ parameters: volumetype: "replicate:3" volumeoptions: "client.ssl on, server.ssl on" volumenameprefix: "dept-dev" + snapfactor: "10"