c12s-kubespray/contrib/network-storage/heketi
Sascha Marcel Schmidt 157639e451
use privileged user
2018-09-06 16:38:11 +02:00
..
roles use privileged user 2018-09-06 16:38:11 +02:00
heketi-tear-down.yml Change heketi-tear-down to run on nodes instead of localhost delegate_to 2018-08-07 13:52:49 +02:00
heketi.yml run kubectl on one of the masters 2018-07-25 16:42:30 +02:00
inventory.yml.sample add sample inventory 2018-06-25 15:09:03 +02:00
README.md add tear down playbook 2018-07-05 02:15:05 +02: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.

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