Best Practices to Spring to Kubernetes Easier and Faster
summary
Practical checklist: use Jib and Skaffold (or Cloud Native Buildpacks) to build layered images and avoid hand‑written Dockerfiles; prefer container‑aware OpenJDK builds to prevent unexpected heap growth and OOMKilled processes; run tests with Testcontainers and mock contracts; develop locally with k3s or kind and automate redeploy/debug loops with Skaffold/Cloud Code. Configure Kubernetes with liveness vs readiness probes, implement graceful shutdown tied to readiness, set proper resource requests and limits, and run the container non‑root.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 1:07Rays Desert Story
- 4:13What do you like about Kubernetes
- 8:58Containers
- 11:04Max Heap
- 14:06Continuous Wear
- 14:41Memory Usage
- 16:08Native Memory Tracking
- 17:37Dont Write to File System
- 19:04Create a Container Image
- 20:07Using the Jibe Plugin
- 24:40Using Boot Packs
- 25:29Running Kubernetes Locally
- 26:42K3S
- 28:24Kind
- 35:26Scaffold
- 38:39Debugging
- 39:59Testing
- 41:02Resource Configurations
- 45:56Graceful Shutdown
related talks
45mKubernetes Local Development Workflow Distilled
01h 00mJava on Kubernetes What I Wish I Knew First
44mSpringing into Kubernetes
16mLearning Kubernetes: Tips and Strategies for Beginners
39mDeveloper Experience with Spring Boot on Kubernetes
55mHow to develop apps on K8s and not die trying
44mTop 5 container and Kubernetes best practices
35mJava Developer’s Journey in Kubernetes
