Is implemented based on gluster-kubernetes. It builds a docker image based on the conten of the project and provides a helm chart for its run.
Default image of Centos is missing several libraries required for Gluster. THe can be installed using the following commands:
- Install lvm2
sudo su
yum install lvm2
- Install dm-thin pool
sudo modprobe dm_thin_pool
# Load kernel module on boot
echo 'dm_thin_pool' | sudo tee /etc/modules-load.d/dm_thin_pool.conf
Check if install correct
lsmod | grep dm_thin_pool
3 Install glusterfs-fuse
sudo su
yum install glusterfs glusterfs-fuse attr -y
Just install using provided Helm chart. Make sure to update topology.jso to your configuration.
It is defined in values.yaml - topology
In the case of failures and/or reinstalls, the following clean up is require
- remove glusterfs daemon set
- Delete heketi-service-account
- Run cleanup.sh script on every node, where gluster was installed
- Reboot those nodes