7516fe142f
* Ansible: move to Ansible 3.4.0 which uses ansible-base 2.10.10 * Docs: add a note about ansible upgrade post 2.9.x * CI: ensure ansible is removed before ansible 3.x is installed to avoid pip failures * Ansible: use newer ansible-lint * Fix ansible-lint 5.0.11 found issues * syntax issues * risky-file-permissions * var-naming * role-name * molecule tests * Mitogen: use 0.3.0rc1 which adds support for ansible 2.10+ * Pin ansible-base to 2.10.11 to get package fix on RHEL8 |
||
---|---|---|
.. | ||
roles | ||
heketi-tear-down.yml | ||
heketi.yml | ||
inventory.yml.sample | ||
README.md | ||
requirements.txt |
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