Recently I got a chance to consolidate the Demo videos which covers how GlusterFS can be used in Docker, kubernetes and Openshift . I have placed everything in single channel for better tracking. The demo videos are analogous to previously published blog entries in this space.
Here is a brief description about the available videos:
How to run a Gluster Container :
Blog – bit.ly/2bNobjK
Presentation – bit.ly/2bNow5Y
This demo covers the standard process to run Gluster Docker Containers in a Linux system. It shows which directories can be exported when spawning Gluster Containers to make sure data persistence. This demo also talks about the usage of official Gluster Container image.
How to form a Gluster trusted pool using Gluster Containers:
This demo shows how we can create a Gluster trusted pool (cluster) among Gluster containers. This is one of the important building blocks of `Running storage in container` or to be precise, “Storage as a Service” in my terms.
Gluster Container deployment in Openshift using templates-DaemonSets
Reference # bit.ly/2btsZLQ
Once we are confident that we can run gluster containers and form a trusted pool, the next step would be deploying it in PaaS like offering. Obviously I chose Openshift PaaS for this demo because it is an awesome PaaS based on Kubernetes . If you do not know what is Openshift, “OpenShift is Red Hat’s Platform-as-a-Service (PaaS) that allows developers to quickly develop, host, and scale applications in a cloud environment. With OpenShift you have a choice of offerings, including online, on-premise, and open source project options.” .
Openshift got a deployment model called ‘template deployment’ which will be a part of this demo as well. This demo also covers one of the deployment option ‘DaemonSets’ to deploy gluster containers/pods in Openshift.
Gluster Persistent Storage in Kubernetes/Openshift OR PV and PVC using GlusterFS plugin
Blog – bit.ly/2boATUK
Presentation – bit.ly/2bX5XNZ
This demo shows us a way to use Gluster trusted pool and Gluster volumes in an OpenShift or Kubernetes environment. The trusted pool may or may not be hosted in containers. The demo covers the Endpoint, Service, Persistent Volume and Persistent Volume Claim creation based on GlusterFS trusted pool and volumes. Once we have a ‘BOUND” claim, one can use it in application pod/container for Persistent Data Store.
Gluster Pods deployment with PetSets for consistent pod name
In general the pods get a random name in an Openshift or Kubernetes environment. At times we may need to assign defined names or ordered names for the Gluster Pods. There is a new attribute ‘PetSets ‘ in kubernetes which enables this functionality. Here we use “PetSets’ in this demo to show how we can get defined names for Gluster Containers and to show how this PetSet pods can be controlled or scaled as well.
Stay tuned, there’s more to come in this space.