This project is as a PoC to setup a gluster cluster using Kubernetes. It should handle resizing of any type and be
resilient to the various conditions both gluster and kubernetes can find themselves in.
GLUSTER_SIDECAR_POD_LABELS
Required: NO
Default: role=gluster,environment=test
This should be a be a comma separated list of key values the same as the podTemplate labels. See above for example.
GLUSTER_SIDECAR_SLEEP_SECONDS
Required: NO
Default: 5
This is how long to sleep between work cycles.
GLUSTER_SIDECAR_UNHEALTHY_SECONDS
Required: NO
Default: 15
This is how many seconds a cluster member has to get healthy before automatically being removed from the cluster.
GLUSTER_SIDECAR_CLUSTER_NAME
Required: NO
Default: glusterfs-cluster
This is the meta.name of the kubernetes endpoints.
GLUSTER_SIDECAR_CLUSTER_PORT
Required: NO
Default: 1
This is the cluster port for kubernetes gluster volume mounting.
GLUSTER_SIDECAR_VOLUME_NAME
Required: NO
Default: data
This is the gluster volume name.
GLUSTER_SIDECAR_BRICK_NAME
Required: NO
Default: data
This is the gluster brick name.
GLUSTER_SIDECAR_REPLICATION
Required: NO
Default: 2
This is the replication factor for files on gluster cluster.
GLUSTER_SIDECAR_K8SNAMESPACE
Required: NO
Default: default
This is the namespace in which this sidecar will run.