Skip to content
This repository was archived by the owner on Mar 24, 2019. It is now read-only.

Latest commit

 

History

History
executable file
·
40 lines (34 loc) · 1.14 KB

File metadata and controls

executable file
·
40 lines (34 loc) · 1.14 KB

Gluster support

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.

Prerequisites

Default image of Centos is missing several libraries required for Gluster. THe can be installed using the following commands:

  1. Install lvm2
sudo su
yum install lvm2
  1. 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

install

Just install using provided Helm chart. Make sure to update topology.jso to your configuration. It is defined in values.yaml - topology

Cleanup

In the case of failures and/or reinstalls, the following clean up is require

  1. remove glusterfs daemon set
  2. Delete heketi-service-account
  3. Run cleanup.sh script on every node, where gluster was installed
  4. Reboot those nodes