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.
 
 
 
 
 
Xavi fc1edbe79d Fix calico v3.4.0 scale and upgrade (#4531) 5 years ago
..
roles Yamllint fixes (#4410) 5 years ago
README.md add tear down playbook 6 years ago
heketi-tear-down.yml Change heketi-tear-down to run on nodes instead of localhost delegate_to 6 years ago
heketi.yml run kubectl on one of the masters 6 years ago
inventory.yml.sample add sample inventory 6 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.

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