Zero-downtime deployment with Kubernetes, Spring Boot and Flyway
summary
Shows a concrete zero‑downtime path: Kubernetes rolling updates with specified maxUnavailable/maxSurge values, Spring Boot health endpoints for readiness, and Flyway file‑versioned migrations applied from DB migrations folder. Demo builds a Kotlin Spring Boot app with Jib, uses H2 locally, deploys a 3‑replica Deployment in a namespace, adds an addresses table and copies data in code (no triggers), upgrades to v2.x and rolls back to v2.1 while HTTP requests keep succeeding.
AI-written summary · about
chapters (15)
- 0:00Introduction and speaker background
- 3:25Why zero downtime matters
- 6:39Blue-green deployment basics
- 9:28Kubernetes rolling updates
- 13:47Database migration challenges
- 16:38Breaking down schema changes
- 19:49Spring Boot and Flyway integration
- 23:43Live demo setup
- 26:31Containerizing the application
- 29:28Deploying to Kubernetes
- 31:28Adding address table migration
- 34:20Switching to address table as source
- 36:56Testing rollback capability
- 39:06Key takeaways and challenges
- 40:56Q&A session
related talks
31mZero downtime deployment with Kubernetes, Spring Boot and Flyway
38mZero-downtime deployment with Kubernetes, Spring Boot and Flyway
35mZero-Downtime Deployment on Kubernetes
37mZero downtime Deployment on Kubernetes
39m502 Bad Gateway: Zero Downtime Is More Than a Config
35mZero-downtime deployment on Kubernetes
40mZero-Downtime Java Enterprise Applications With Kubernetes
40mStrategies for Zero Down Time, Frequent Deployments
