DevOps: Setup GitLab v16.7.3 on Kubernetes v1.25.1

In this blog, we will guide you through the process of setting up GitLab-v16.7.3 Community Edition on Kubernetes-v1.25.1, unlocking a powerful combination of version control and container orchestration. Whether you're a seasoned developer or just starting your journey in the world of DevOps, this step-by-step guide will help you seamlessly integrate GitLab CE with Kubernetes, harnessing the full potential of these cutting-edge technologies for enhanced development workflows. Let's dive into the details and elevate your software development experience.

Fancy Image

Get Started

Requirements

1. Let's clone git repo

Setup K8s Cluster

1. Let's create K8s v1.25.1 poc-gitlab using kind.

2. Install metal-lb

3. Configure IP addresses in kind/metallb-ip-pool.yaml and deploy metalLB IP address pool.

Install GitLab

1. Add GitLab helm repo to local machine.

2. Deploy gitlab/gitlab chart with v7.7.3-values.yaml file

3. Wait for 5-10 minutes and check the status of pods

Verify

1. Get the domain name & IP address from ingress.

2. Configure an entry in /etc/hosts.

3. Get initial root password.

4. Access the gitlab UI at https://gitlab.hackwithv.com/.

5. Login with above username and password.

6. Check your sign-up restrictions > Deactivate > uncheck Sign-up enabled > Save changes

CleanUp

1. Remove every resource.

Comments

Popular posts from this blog

Demo 1- How to Track Location by a Link

Snyk - Ubuntu 20.04 (Linux)

Cracking VNC Password Using Hydra