Simple Infra CI/CD Pipeline: From Docker to Kubernetes

Introduction This repository is a small, hands-on lab to learn modern DevOps: Who is this for What you’ll build Repository map docker/ docker/ — Dockerfile + static index.html. Contains everything related to containerizing the application. Dockerfile – Defines how the Nginx image is built index.html – A simple static webpage served by Nginx Purpose: Build a […]
Unit Testing Explained: A Simple Guide for Developers.

Introduction. Top 8 Tools. Automated Unit testing. Testing unit tests inside a CI/CD pipeline means automating their execution, validating results, and enforcing quality gates every time code changes. Below is a practical, step-by-step explanation with real CI/CD examples. 1. Add Unit Tests to the Codebase Examples: mvn test pytest npm test 2. Configure the CI/CD Pipeline The […]
Deploying Prometheus and Grafana on Kubernetes

Introduction: This document explains how to deploy Prometheus and Grafana on a Kubernetes cluster manually, without using Helm or other automation tools. you will learn how to: Prerequisites: Create a section for what must be ready before starting: What is Prometheus? Kubernetes → Prometheus → Metrics + Alerts What is Grafana? Why Do We Need […]
Dynamic Storage in Kubernetes using OpenEBS with StatefulSets

Introduction: Persistent storage is a crucial requirement for stateful applications running on Kubernetes. OpenEBS provides a cloud-native solution for dynamic storage provisioning, enabling pods to retain data even when they are restarted or rescheduled. By leveraging OpenEBS, Kubernetes users can create custom StorageClasses and dynamically allocate Persistent Volumes (PVs) using Persistent Volume Claims (PVCs). This […]
Kubernetes Resource Management: Pods, Resource Requests, Limits, and ResourceQuota

Kubernetes Resource Management: Pods, Resource Requests, Limits, and ResourceQuota
Deploying a StatefulSet with Manual Persistent Volume (hostPath) in Kubernetes-(Tutorial-II)

Introduction In Kubernetes, StatefulSets are used to run stateful applications that require stable storage, ordered deployment, and persistent identities.In this guide, we manually create a PersistentVolume (PV) using hostPath, then deploy a StatefulSet that uses this PV for data persistence. In Kubernetes, some applications need to store data permanently and keep their names stable even […]
Deploying a StatefulSet with Manual Persistent Volume (hostPath) in Kubernetes-(Tutorial-I)

Introduction: In Kubernetes, StatefulSets are used to run stateful applications that require stable storage, ordered deployment, and persistent identities.In this guide, we manually create a PersistentVolume (PV) using hostPath, then deploy a StatefulSet that uses this PV for data persistence. In Kubernetes, some applications need to store data permanently and keep their names stable even […]
Kubernetes ServiceAccount and RBAC: Creating Pods with Controlled Permissions

Introduction In Kubernetes, a ServiceAccount is a special type of account used by pods to authenticate and interact with the kubernetes API. Every pod runs as a user, and the ServiceAccount determines what resources the pod can access. Role-Based Access Control (RBAC) is a security mechanism in Kubernetes that allows administrators to control who can […]
How to Use Git the Right Way in a Team Environment.

Introduction. Using Git effectively in a team environment is more than just knowing commands. It is about collaboration, organization, and maintaining a clean history. Teams working on software projects face constant challenges. Code conflicts, inconsistent workflows, and lost changes are common pitfalls. Git provides a solution to these challenges by tracking changes. It allows multiple […]
Deploying a Multi-Tier Todo List Application on Kubernetes -Tutorial 1.

Introduction: This documentation explains how to deploy a multi-tier Todo List Application on Kubernetes. The application has: Learning Objectives: Kubernetes Frontend–Backend Architecture with Services. This second image shows a 2D Kubernetes architecture diagram explaining how a Frontend and Backend application communicate inside a Kubernetes cluster. Here is what the image represents: 1. Backend Deployment 2. Frontend Deployment 3. Services […]