Deploying a Multi-Tier App on Kubernetes
Why It Matters
It proves that even complex, stateful applications can be containerized and managed on Kubernetes, reducing deployment friction and accelerating cloud‑native transformation for businesses.
Key Takeaways
- •Deployed multi-tier app on Kubernetes using Minikube successfully
- •Voting service reachable via port 3004, results via port 3005
- •Votes stored in Redis, propagated to PostgreSQL for results
- •Real-time UI reflects vote changes instantly across the pods
- •End-to-end data flow validated across all the microservices
Summary
The video walks through deploying a three‑tier voting application on a local Kubernetes cluster using Minikube, illustrating how each component—frontend, worker, and result services—can be orchestrated as separate pods.
After applying the manifests, the voting front‑end is exposed on port 3004 and the result service on port 3005. The presenter copies the generated URLs, accesses the UI, and casts a vote, which is immediately written to a Redis cache and then persisted to a PostgreSQL database via the worker pod.
A visual check‑mark confirms the vote was recorded, and the results page shows 100 % for the selected option after a single vote. Switching the selection from dogs to cats updates the percentage in real time, demonstrating the seamless data propagation across pods.
The demo validates that a multi‑tier architecture can be reliably deployed, scaled, and monitored on Kubernetes, offering enterprises a reproducible pattern for modernizing legacy monoliths into containerized microservices.
Comments
Want to join the conversation?
Loading comments...