Files
wlan-cloud-helm/glusterfs
4c74356b41 915eb1d625 WIFI-1478 - all credentials moved to globals (#54)
* all credentials moved to globals

* cassandra fix

* centralized certificates, removed unneded entities

* minor fixes, local-multi-namespace example fixes

* removing unneeded sections in the yaml files

* updates to changelog and multiple namespaces examples

* fixing last couple of services, removed not needed secrets, centralized httpclientconfig.json and ssl.properties

* minor improvements

* changelog reformatted

* fixing startupprobe and changelog

Co-authored-by: Gleb Boushev <4c74356b41@outlook.com>
2021-02-04 13:03:51 +03:00
..
2020-05-29 17:43:27 -04:00
2020-05-29 17:43:27 -04:00

GlusterFS on kubernetes

The goal of this project is to spin-up GlusterFS on Kubernetes, so we can use the cluster as a Storage class in our environment.

This project is based on the gluster-kubernetes project - https://github.com/gluster/gluster-kubernetes. It follows the instructions described in the setup guide (https://github.com/gluster/gluster-kubernetes/blob/master/docs/setup-guide.md). However, there are subtle differences:

Pre-requisite of running the gk-deploy script:

  • Need to have Kubernetes running on 3 nodes setup with Glusterfs-client installed on all the nodes
  • Preferably a separate volume should be attached to these nodes.
  • gk-deploy script will create a new namespace "gluster-ns"

For other issues faced during deployment, see here:

Usage

  • Creation: ./gk-deploy -g --admin-key <ADMIN_KEY> --user-key <USER_KEY> -n <GLUSTER_NAMESPACE> -v topology.json.

    • As an example: ./gk-deploy -g --admin-key admin --user-key user -n glusterns -v topology.json
    • Namespace specifics:
      • If namespace is passed, we will create (if it does not exist) and use that namespace for glusterFS resources.
      • If namespace is NOT passed, we will create (if it does not exist) namespace='gluster-ns' and use it for glusterFS resources.
  • Deletion: ./gk-deploy --admin-key <ADMIN_KEY> --user-key <USER_KEY> --abort -v -n <GLUSTER_NAMESPACE>

    • Note:
    • Gluster-namespace should be passed.
    • Also, this won't delete the glusterfs pods. To remove the pods, delete the daemon set, then delete the namespace - 'gluster-ns': Example:
      • kubectl delete daemonset glusterfs
      • kubectl delete namespace gluster-ns