c12s-kubespray/contrib/network-storage/heketi
Kenichi Omichi 486b223e01
Replace kube-master with kube_control_plane (#7256)
This replaces kube-master with kube_control_plane because of [1]:

  The Kubernetes project is moving away from wording that is
  considered offensive. A new working group WG Naming was created
  to track this work, and the word "master" was declared as offensive.
  A proposal was formalized for replacing the word "master" with
  "control plane". This means it should be removed from source code,
  documentation, and user-facing configuration from Kubernetes and
  its sub-projects.

NOTE: The reason why this changes it to kube_control_plane not
      kube-control-plane is for valid group names on ansible.

[1]: https://github.com/kubernetes/enhancements/blob/master/keps/sig-cluster-lifecycle/kubeadm/2067-rename-master-label-taint/README.md#motivation
2021-03-23 17:26:05 -07:00
..
roles Fix Ansible Lint warnings (No such file or directory) (#6581) 2020-08-26 23:19:10 -07:00
heketi-tear-down.yml Replace kube-master with kube_control_plane (#7256) 2021-03-23 17:26:05 -07:00
heketi.yml Replace kube-master with kube_control_plane (#7256) 2021-03-23 17:26:05 -07:00
inventory.yml.sample Replace kube-master with kube_control_plane (#7256) 2021-03-23 17:26:05 -07:00
README.md Improve markdownlint for contrib/network-storage (#7079) 2020-12-23 00:00:26 -08:00
requirements.txt add jmespath as requirement 2018-07-04 18:25:35 +02:00

Deploy Heketi/Glusterfs into Kubespray/Kubernetes

This playbook aims to automate this tutorial. It deploys heketi/glusterfs into kubernetes and sets up a storageclass.

Important notice

Due to resource limits on the current project maintainers and general lack of contributions we are considering placing Heketi into a near-maintenance mode

Client Setup

Heketi provides a CLI that provides users with a means to administer the deployment and configuration of GlusterFS in Kubernetes. Download and install the heketi-cli on your client machine.

Install

Copy the inventory.yml.sample over to inventory/sample/k8s_heketi_inventory.yml and change it according to your setup.

ansible-playbook --ask-become -i inventory/sample/k8s_heketi_inventory.yml contrib/network-storage/heketi/heketi.yml

Tear down

ansible-playbook --ask-become -i inventory/sample/k8s_heketi_inventory.yml contrib/network-storage/heketi/heketi-tear-down.yml

Add --extra-vars "heketi_remove_lvm=true" to the command above to remove LVM packages from the system