Kubernetes Case Study: Deploy a Spring Boot App with PostgreSQL Database (with Persistent Volume)
- 2024.11.24
- コンテナ化

In this Kubernetes hands-on tutorial, I’ll show you how to deploy a Spring Boot application (which is available on my GitHub repository here https://github.com/rakia/spring-boot-docker-kubernetes) that needs a PostgreSQL database, using Docker, Minikube, and kubectl.
I cover everything from creating persistent storage on Kubernetes, building a Docker image inside Minikube, and deploying your app and your database and exposing them using Kubernetes NodePort service.
By the end, you’ll have your app running smoothly and become confident navigating Kubernetes. Let’s get deploying!
📖 Read the associated article here: https://code.likeagirl.io/kubernetes-spring-boot-database-persistent-storage-73abbc1a75e0
Watch Part 1: Kubernetes Beginners’ Guide 👉 https://youtu.be/AA2KqeeHJCI
Watch Part 2: Kubernetes Hands-on 👉 https://youtu.be/hDBgeUuPgXo
🔥 🎁 Ready to level up your Software Architecture & System Design skills?
Join 36K+ students and check out my video course with limited time DISCOUNT:
Coupon: 8129AD1D49B5FFAF9F08
https://www.udemy.com/course/road-from-software-engineer-to-software-architect/?couponCode=8129AD1D49B5FFAF9F08
💯 Discount on my video Course: Mastering Web Performance: From Novice to Expert:
Coupon: FC68FC52772A65F106F7
https://www.udemy.com/course/identify-and-fix-javascript-memory-leaks/?couponCode=FC68FC52772A65F106F7
💡 🧠 I share content about engineering, technology, and leadership for a community of smart, curious people. Join my newsletter for more insights and tech updates: https://rakiabensassi.substack.com
Follow me on Medium: https://rakiabensassi.medium.com