How did you ensure zero-downtime deployments?
IntermediateBehavioralKubernetes, GitOps & deployment strategy
Answer
Good answer looks like → "Readiness probes so traffic only reaches ready pods, maxUnavailable: 0, a preStop hook with a short sleep so the load balancer deregisters the pod before it stops, graceful shutdown handling SIGTERM within terminationGracePeriodSeconds, and PDBs. We confirmed with a k6 test running through a deploy: zero errors."
Follow-ups to expect → Why is the preStop sleep needed? How did ALB target deregistration delay fit in?
Red flags → Claiming zero downtime without having measured it.
More on Kubernetes, GitOps & deployment strategy
Why ArgoCD over Flux in your project?IntermediateHow was your GitOps repository structured?IntermediateHow many clusters did you run, and why?IntermediateWhat deployment strategy did you use and why?IntermediateHow did you set resource requests and limits?IntermediateHow did you expose services to the internet?Beginner