DevOps for Java
Practical Docker and Kubernetes guides for Java developers, building minimal production images, deploying Spring Boot to Kubernetes, managing configuration with ConfigMaps and Secrets, configuring health probes for zero-downtime deployments, and packaging everything with Helm.
Docker
2 articlesDocker Multi-Stage Builds for Java: Minimal JRE Images
Small Java Docker images with multi-stage builds, layered JARs and jlink, plus how the JVM sizes itself to container limits and shuts down cleanly on SIGTERM.
Java Container Images: Dockerfile vs Jib vs Buildpacks
How Dockerfile, Jib and Cloud Native Buildpacks build Java images: a Jib image built to a tar without Docker and inspected, reproducibility, layering and CI fit.
Kubernetes
7 articlesKubernetes: Deploying Spring Boot with Deployments & Services
Deploy Spring Boot on Kubernetes: how Deployments, Services and Ingress fit together, JVM-aware resource settings, rolling updates, autoscaling and common pitfalls.
Kubernetes: ConfigMaps, Secrets & Spring Boot Property Sources
Spring Boot configuration on Kubernetes: property source order, ConfigMaps and Secrets as variables or files, configtree imports, reloads and External Secrets.
Kubernetes Probes for Spring Boot: Liveness, Readiness, Startup
How Kubernetes probes work and how to set them for Spring Boot: Actuator liveness and readiness, startup probes, timing defaults, and graceful shutdown with preStop.
Graceful Shutdown for Spring Boot on Kubernetes
What happens when Kubernetes stops a Spring Boot pod: the endpoint race, preStop, grace periods, lifecycle phases, executors and Kafka consumers, run for real.
Autoscaling Spring Boot on Kubernetes: HPA, JVM Warm-up, KEDA
Why CPU-based HPA scaling misleads for the JVM, how the HPA treats starting pods, and how to scale Spring Boot on request rate or queue lag with Micrometer and KEDA.
Database Migrations for Spring Boot on Kubernetes
Where to run Flyway or Liquibase on Kubernetes, how replicas share the migration lock, and the expand/contract pattern for schema changes during rolling updates.
Helm Charts for Spring Boot: Templating, Values & Rollbacks
Helm charts for Spring Boot: how templates and values render manifests, per-environment overrides, releases and rollbacks, migration hooks, CI and Helmfile.