Blog Series Structure

Table of contents
- ๐งฑ Part 1: Introduction + Project Overview
- โ๏ธ Part 2: Setting Up KIND for Kubernetes
- ๐ Part 3: PostgreSQL + CronJob + S3 Backups
- ๐ Part 4: FastAPI Backend for Real-Time Status
- ๐จ Part 5: Public Dashboard with React
- ๐ Part 6: CI/CD with GitHub Actions
- ๐ Part 7 (Optional): Add Monitoring with Grafana + Prometheus
- ๐ผ Ready Project Build Plan

๐งฑ Part 1: Introduction + Project Overview
What we are building and why
Why Kubernetes for PostgreSQL?
DevOps skills we'll learn: GitHub Actions, KIND, K8s, S3 backups, CI/CD
System Architecture (Diagram)
โ๏ธ Part 2: Setting Up KIND for Kubernetes
Why KIND over Minikube
Installing Docker + KIND + kubectl
Creating your first KIND cluster
Deploying PostgreSQL StatefulSet
Verifying pods, services, PVC
๐ Part 3: PostgreSQL + CronJob + S3 Backups
Write backup script using
pg_dump
Mount volumes in CronJob
Configure AWS S3 using IAM and environment secrets
Test backup flow
Log backup results in a โbackup_logsโ table
๐ Part 4: FastAPI Backend for Real-Time Status
REST API to expose:
Last backup time
Disk usage
Active connections
Containerize and deploy on Kubernetes
Expose using Ingress or NodePort
๐จ Part 5: Public Dashboard with React
Create frontend dashboard
Connect to FastAPI backend
Deploy on Render
Make it accessible to recruiters
๐ Part 6: CI/CD with GitHub Actions
Auto-deploy manifests to KIND using
kubectl
Local CI testing for Dockerfiles, Linting, etc.
Optional GitHub environment secrets
๐ Part 7 (Optional): Add Monitoring with Grafana + Prometheus
Monitor PostgreSQL pod
Visualize memory/CPU/disk trends
Add charts to frontend
๐ผ Ready Project Build Plan
๐ Core Features Checklist
Feature | Status |
PostgreSQL StatefulSet on KIND | โ Planned |
PVC & Headless Service | โ Planned |
S3 CronJob Backup Integration | โ Planned |
FastAPI Status REST API | โ Planned |
React.js Public Dashboard | โ Planned |
KIND Support Instead of Minikube | โ Updated |
GitHub Actions CI/CD | โ Planned |
K8s Manifests Only (No Helm) | โ Preferred |
Optional Prometheus Monitoring | ๐ Optional |
Subscribe to my newsletter
Read articles from Digpal Singh Rathore directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Digpal Singh Rathore
Digpal Singh Rathore
Cloud Engineer passionate about automation, scalability, and AI. On a journey to become an MLOps Engineerโbridging the gap between machine learning and reliable deployment. Sharing what I learn along the way.