Hardening your GitLab deployment running OpenEBS beneath

Shashank Ranjan
MayaData
Published in
1 min readJun 29, 2019

Introduction

GitLab is a great tool to manage git repositories on a centralized server. It is a great tool for building On-Premise cloud native CI/CD platforms. GitLab comprises of different stateful components like Gitaly, Redis, PostgreSQL, Minio and Prometheus.

Use Case:

GitLab runs with various stateful components like Redis, PostgreSQl, Minio and Prometheus which consume kubernetes volumes for storing pipeline related data. Securing data for the stateful components is a major concern while using Gitlab in production environment. For the better availability of data and fault tolerance support for kubernetes volume, a proper storage solution is required and here OpenEBS comes into play.

Pros of using GitLab with OpenEBS:

  • OpenEBS acts a single storage platform for all stateful applications including Gitaly, Redis, PostgreSQL, Minio and Prometheus.
  • OpenEBS provides HA to the volumes. Node loss, reboots and kubernetes upgrades will not affect the availability of persistent storage to the stateful applications.
  • Storage is scalable on demand. You can start with small storage for all the databases required by GitLab and scale it on demand.Supports features like volume snapshots which enable to take a snapshot of data (mostly sensitive) and make multiple clones of it.
  • Supports features like volume snapshots which enables to take a snapshot of data (mostly sensitive) and make multiple clones of it.

Steps to install Gitlab on OpenEBS

  • Prerequisites: A proper functioning …

Continue Reading the article in MayaData’s Blog

--

--