The Gluster Blog

Gluster blog stories provide high-level spotlights on our users all over the world

Gluster Container Demo Videos on “Gluster as a Persistent Data Store for Containers…. “

Gluster
2016-09-07

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.

Here is a brief description about the available videos:

How to run a Gluster Container :

Reference #
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.

“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 has 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

Reference #

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.

BLOG

  • 03 Feb 2020
    Building a longer term focus for Gl...

    The initial rounds of conversation around the planning of content for release 8 has helped the project identify one key thing – the need to stagger out features and enhancements over multiple releases. Thus, while release 8 is unlikely to be feature heavy as previous releases, it will be the...

    Read more
  • 28 Nov 2019
    Planning ahead for Gluster releases

    In order to plan the content for upcoming releases, it is good to take a moment of pause, step back and attempt to look at the consumption of GlusterFS within large enterprises. With the enterprise architecture taking large strides towards cloud and more specifically, the hybrid cloud, continued efforts towards...

    Read more
  • 13 Nov 2019
    Announcing Gluster 7.0

    The Gluster community is pleased to announce the release of 7.0, our latest release. This is a major release that includes a range of code improvements and stability fixes along with a few features as noted below. A selection of the key features and bugs addressed are documented in this...

    Read more