๐Ÿšข Kubernetes Microservice Lab

Deploy a real microservice stack on k3d โ€” Nginx, Flask, and PostgreSQL โ€” and learn Kubernetes by doing.

Kubernetes k3d Flask PostgreSQL Nginx Educational
๐Ÿ“‚ View on GitHub

๐ŸŽฏ What You'll Learn

๐Ÿ“ Architecture

Full Mermaid diagram showing how Frontend โ†’ Backend โ†’ Database connect through Kubernetes Services, DNS, and ConfigMaps.

View diagram โ†’

๐Ÿ“ฆ Manifests

Production-ready YAML: Namespace, Secrets, Deployments, Services, ConfigMaps โ€” all tested on k3d v1.31.

Browse manifests โ†’

๐Ÿ“š Tutorials

Step-by-step guides with real debugging lessons learned the hard way. Each tutorial includes code + explanations.

Start learning โ†’

โšก Deploy It

One command to deploy: kubectl apply -f manifests/. Full stack running in under 2 minutes on k3d.

Quick start โ†’

Quick Start

# 1. Create k3d cluster
k3d cluster create ai --servers 1 --agents 1

# 2. Deploy everything
kubectl apply -f manifests/

# 3. Access the app
kubectl port-forward -n app svc/frontend-svc 8080:80
curl http://localhost:8080

Architecture

Architecture diagram

Open in Mermaid Live โ†’

Real Bugs, Real Lessons

๐Ÿ› Issues we debugged live

Resources