You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Cristian Calin a0be7f0e26
heketi: fix deployment logic that was broken by the ansible 3.4 upgrade (#8118)
3 years ago
..
roles heketi: fix deployment logic that was broken by the ansible 3.4 upgrade (#8118) 3 years ago
README.md Improve markdownlint for contrib/network-storage (#7079) 3 years ago
heketi-tear-down.yml Replace kube-master with kube_control_plane (#7256) 3 years ago
heketi.yml Replace kube-master with kube_control_plane (#7256) 3 years ago
inventory.yml.sample Rename ansible groups to use _ instead of - (#7552) 3 years ago
requirements.txt add jmespath as requirement 6 years ago

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