Skip to content

telekom/k8s-gluster-heketi-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k8s-gluster-heketi-ansible

Introduction

Installs glusterfs and heketi into kubernetes for dynamic persistent volume handling.

Status

Ready to use.

Installation

Installation can be done using ansible-galaxy collection install.

Usage

In your hosts file define control and compute node groups. To use the roles, just include them into your playbook.

- hosts: control compute
  user: root
  roles:
    - telekom.k8s_gluster_heketi_ansible.preparation
    - telekom.k8s_gluster_heketi_ansible.gluster_host
    - telekom.k8s_gluster_heketi_ansible.heketi
  vars:
    - gluster_host_ssh_priv_key: "path/to/keys/file"

Note: there is also a telekom.k8s_gluster_heketi_ansible.gluster_container role. This is seen as a replacement drop in for the gluster_host. Instead of using glusterd on the host, the official gluster container are used. The problem is, that this has some darwbacks as it uses lvm in an udev free space.

References

Similar Projects

Some ideas and even source code it used from the following projects. All the projects are also licensed under Apache 2.0 license. When source code is used it is marked as such.

  • ansible-role-k8s-heketi-gluster https://github.com/manics/ansible-role-k8s-heketi-gluster This project followed a very similar approach as k8s-gluster-heketi-ansible. The problem is, that this is not longer maintained and does not support up to date heketi versions and uses commands / shell for kubernetes instead of the Ansible 'k8s' module which makes things much easier to handle.
  • gluster-kubernetes https://github.com/gluster/gluster-kubernetes This project provides (mostly) a shell script to install and configure heketi. The project is archived (read-only) and there is no active developemnt done. The result is, that it does not work with current kubernetes versions.

License

By default all files of this project are licensed under the Apache-2.0 license. For details see the file 'LICENSE' in the top directory. https://opensource.org/licenses/Apache-2.0

Copyright 2020 Andreas Florath, Deutsche Telekom AG

About

Installs glusterfs and heketi into kubernetes for dynamic persistent volume handling

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published