kubespray/contrib/network-storage/heketi
Bas 8f5f75211f
Improving yamllint configuration (#11389)
Signed-off-by: Bas Meijer <bas.meijer@enexis.nl>
2024-07-25 18:42:20 -07:00
..
roles Improving yamllint configuration (#11389) 2024-07-25 18:42:20 -07:00
README.md Improve markdownlint for contrib/network-storage (#7079) 2020-12-23 00:00:26 -08:00
heketi-tear-down.yml Resolve ansible-lint name errors (#10253) 2023-07-26 07:36:22 -07:00
heketi.yml Resolve ansible-lint name errors (#10253) 2023-07-26 07:36:22 -07:00
inventory.yml.sample Glusterfs daemonset readiness and liveness params. #8307 (#8309) 2021-12-23 00:32:37 -08:00
requirements.txt add jmespath as requirement 2018-07-04 18:25:35 +02:00

README.md

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