Interview Prep/Docker/CI/CD and production rollouts

Rollback strategy when a new image passes health checks but errors under load.

AdvancedScenarioCI/CD and production rollouts
Answer

Situation read → Health checks are shallow.

What I'd do → Monitor error rate and latency SLOs during rollout, auto-rollback via progressive delivery (Argo Rollouts, Flagger) or Swarm --update-monitor, keep the previous digest in the deployment record, and use feature flags to separate deploy from release.

Why → Behavioural regressions need metrics-based gates.

Interview tip → Describe rollout gates on SLIs.

All Docker questions Roadmap: Docker & containers

More on CI/CD and production rollouts