Posts

Showing posts from February, 2024

Setup Docker on Ubuntu

Image
Unleash the power of containerization on your Ubuntu machine! Docker revolutionizes how you develop, deploy, and run applications, and setting it up on Ubuntu is surprisingly simple. Whether you're a seasoned developer or a curious hobbyist, this guide will walk you through the process, empowering you to craft isolated, portable, and efficient software environments. Buckle up, and let's dive into the exciting world of Docker on Ubuntu! Get Started Setup 1. Uninstall old versions sudo apt-get remove docker docker-engine docker.io containerd runc -y Copy 2. Update the apt package index and install packages to allow apt to use a repository over HTTPS sudo apt-get update sudo apt-get install ca-certificates curl gnupg lsb-release -y Copy 3. Add Docker’s official GPG key sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg Copy 4. Use

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

Image
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. Get Started Requirements 1. Let's clone git repo git clone https://github.com/vinaykagithapu/gitlab-on-k8s.git cd gitlab-on-k8s/v16.7.3/nginx-ssl-helm-kind-v1.25.1 Copy Setup K8s Cluster 1. Let's create K8s v1.25.1 poc-gitlab using kind. kind create cluster --name poc-gitlab --image kindest/node:v1.25.1 --config kind/config.yaml kubectl get nodes Copy 2. Install metal-lb k