Update gluster provisioner parameters

This commit is contained in:
Matthew Wong
2016-09-15 15:41:05 -04:00
parent a53333d2d8
commit c77492ab79
+6 -4
View File
@@ -365,7 +365,7 @@ parameters:
#### GLUSTERFS #### GLUSTERFS
```yaml ```yaml
apiVersion: extensions/v1beta1 apiVersion: storage.k8s.io/v1beta1
kind: StorageClass kind: StorageClass
metadata: metadata:
name: slow name: slow
@@ -373,14 +373,16 @@ provisioner: kubernetes.io/glusterfs
parameters: parameters:
endpoint: "glusterfs-cluster" endpoint: "glusterfs-cluster"
resturl: "http://127.0.0.1:8081" resturl: "http://127.0.0.1:8081"
restauthenabled: "true"
restuser: "admin" restuser: "admin"
restuserkey: "password" restuserkey: "password"
``` ```
* `endpoint`: `glusterfs-cluster` is the endpoint/service name which includes GlusterFS trusted pool IP addresses and this parameter is mandatory. * `endpoint`: `glusterfs-cluster` is the endpoint/service name which includes GlusterFS trusted pool IP addresses and this parameter is mandatory.
* `resturl` : Gluster REST service url which provision gluster volumes on demand. The format should be a valid URL and this is a mandatory parameter for GlusterFS dynamic provisioner. * `resturl` : Gluster REST service url which provisions gluster volumes on demand. The format should be `IPaddress:Port` and this parameter is mandatory when using the GlusterFS dynamic provisioner.
* `restuser` : Gluster REST service user who has access to create volumes in the Gluster Trusted Pool. This parameter is optional, empty string will be used when omitted. * `restauthenabled` : A boolean value that indicates whether Gluster REST service authentication is enabled on the REST server. If this value is 'true', you must supply values for the 'restuser' and 'restuserkey' parameters."
* `restuserkey` : Gluster REST service user's password which will be used for authentication to the REST server. This parameter is optional, empty string will be used when omitted. * `restuser` : Gluster REST service user, who has access to create volumes in the Gluster Trusted Pool.
* `restuserkey` : Gluster REST service user's password, will be used for authentication to the REST server.
#### OpenStack Cinder #### OpenStack Cinder