Cluster aware volume plugin for glusterfs
2.3K
This docker volume plugin allows GlusterFS to be used as a backing storage for persistent volumes for docker, or docker swarm.
Unlike existing plugins that manage a 1:1 relationship between GlusterFS and Docker volumes this plugin was developed to create docker volumes as sub folders in a single GlusterFS volume.
The plugin needs to be installed on each docker swarm node with the same config
docker plugin install --alias glusterfs --grant-all-permissions chrisbecke/glusterfs-volume:latest GFS_SERVERS=server1,server2,server3 GFS_VOLUME=gfs0
If there are different GlusterFS volumes associated with different storage classes - then create multiple plugin aliases for each storage class.
The plugin is written in golang, and uses github.com/docker/go-plugins-helpers as the base plugin implementation, github.com/gluster/gogfapi to remotely create and list folders on the GlusterFS volumes and the official gluster/glusterfs-client base image and fuse driver to mount the GlusterFS volumes for docker.
Content type
Plugin
Digest
Size
264.1 MB
Last updated
over 4 years ago
docker plugin install chrisbecke/glusterfs-volume