advancedKubernetes Fundamentals: Docker vs K8s, Runtime, Pods & Deployments

A rolling update of a Spring Boot Deployment causes a brief spike in 502 errors during every deployment

The Deployment uses default rolling update settings and a readinessProbe pointed at /actuator/health/readiness. Diagnose likely causes. Expected reasoning: check initialDelaySeconds on the readiness probe — if it's shorter than the application's actual startup/warm-up time, Kubernetes may start routing traffic to a Pod that reports ready prematurely (or worse, the probe path itself isn't accurately reflecting true readiness, e.g., a connection pool not yet warmed). Also verify maxUnavailable isn't set high enough to remove too many old Pods before enough new ones are confirmed ready, and confi

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.

A rolling update of a Spring Boot Deployment causes a brief spike in 502 errors during every deployment

Next Step

Continue to Why isn't switching to Alpine always a safe, free performance win?← Back to all Docker questions