Sign inSign up

hoolia/kubernetes-glusterfs-server

By hoolia

•Updated almost 10 years ago

GlusterFS server with peer discovery

Image
7

3.2K

hoolia/kubernetes-glusterfs-server repository overview

⁠kubernetes-glusterfs-server

GlusterFS Server with peer-discovery.

⁠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

NameDescriptionDefaultExample
ROOT_PASSWORDSSH login[required]blabla9!
SERVICE_NAMEDNS name to query = discover peersglusterglusterfs-storage.default.svc.cluster.local
SSH_USERSSH login to peersrootglusterfs
SSH_PORTSSH port to listen on for peers to connect222222
SSH_OPTSSSH options-p 2222 -o ConnectTimeout=20 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
GLUSTER_VOLname of the gluster volume to exposevol0myvol0
GLUSTER_BRICK_PATHPath of the local brick (mount)/gluster_volume/bricks/brick0
DEBUG=1Verbose mode0

⁠Examples

See examples dir.

⁠Author

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

Tag summary

Content type

Image

Digest

sha256:9dc956cba…

Size

119.1 MB

Last updated

almost 10 years ago

docker pull hoolia/kubernetes-glusterfs-server