This wasn’t just deploying a Flask + MySQL app—it was a full-on DevOps rollercoaster involving Docker, Kubernetes, and Helm. Faced countless errors, debugged my way out, and learned a LOT in the process.
Massive thanks to TrainWithShubham and Shubham Londhe Sir—your way of teaching makes even complex topics feel beginner-friendly.
Shout-out to Madhup Pandey mate—your GitHub fork was a savior when the main branch had issues. Appreciate the clean fixes!
I’ve documented every episode step-by-step with commands and screenshots to help others avoid the hurdles I hit.
Quick Project Breakdown:
EP-1: Architecture Overview
→ Flask (frontend + backend) + MySQL (DB)
→ Dockerized → Pushed to Docker Hub → Pulled via Kubernetes → Deployed using Helm on AWS.
EP-2: Dockerization
→ Built and networked containers for Flask & MySQL
→ Resolved errors, added Docker Compose, pushed image to Docker Hub.
EP-3: Kubernetes Setup
→ Set up master & worker nodes using kubeadm
→ Installed CRI-O, applied Calico, used crictl commands instead of Docker.
EP-4: K8s Deployment
→ Created pods, deployments, services
→ Exposed app via NodePort
→ Connected to MySQL using ClusterIP & persistent volume.
EP-5: Helm Packaging
→ Created charts for MySQL & Flask
→ Injected env vars via values.yaml
→ Simplified full deployment using helm install.
Final Result: Flask app connected to MySQL, deployed on Kubernetes, scalable, and accessible via NodePort.
Query data using SELECT * FROM messages;
for more details how i have done
please follow this link-
TO FOLLOW for more projects & updates----
my GitHub profile - https://lnkd.in/gFnaRiS6
nextwork org link- https://lnkd.in/gpXTAeY5
dev.to -https://lnkd.in/gFRpihNq
medium.com- https://lnkd.in/g_iCpfsb
hashnode- https://lnkd.in/gSqR6GAn
bento- https://lnkd.in/g9zgrdhw
Top comments (0)