Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

Gluster FS Server Docker image for OpenShift/Kubernetes

Notifications You must be signed in to change notification settings

angelnu/docker-glusterfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GlusterFS for docker

Downloads Build Status

NOTE: Archiving this since I moved to ceph and the k8s community. I will not delete it since it was used by others but please notice that I am also dissabling the weekly builds since the trigger docker pull limit errors and I do not want the spam nor have the interest to upgrade the CI to use the Github container registry. IF there is interest of others please contact me in the k8s-at-home Discord.

GlusterFS Server with peer-discovery for mutiple archs:

  • arm
  • arm64
  • amd64

Compatible

  • Works on Kubernetes + SkyDNS
  • Works on OpenShift
  • Works on Rancher

Features

  • Will discover peers based on same name DNS records.
  • Will auto-peer with peers to form a cluster.
  • Will auto-create a shared volume or will join in an existing volume if name matches. (increasing the replica count)

Environment Variables

Name Description Default Example
ROOT_PASSWORD SSH login [required] blabla9!
SERVICE_NAME DNS name to query = discover peers gluster glusterfs-storage.default.svc.cluster.local
SSH_USER SSH login to peers root glusterfs
SSH_PORT SSH port to listen on for peers to connect 2222 22
SSH_OPTS SSH options -p 2222 -o ConnectTimeout=20 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
GLUSTER_VOL name of the gluster volume to expose vol0 myvol0
GLUSTER_BRICK_PATH Path of the local brick (mount) /gluster_volume /bricks/brick0
DEBUG=1 Verbose mode 0

Examples

See examples dir.

Author

  • Manel Martinez:
    • For his work on the original nixel/rancher-glusterfs-server
  • Samuel Terburg @ Hoolia
    • Kubernetes compatibility
    • Documentation
    • Examples

About

Gluster FS Server Docker image for OpenShift/Kubernetes

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 90.1%
  • Dockerfile 9.9%