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.
More on CI/CD and production rollouts
Design a GitHub Actions workflow that builds, scans and pushes an image.IntermediateZero-downtime deploy on a single Docker host.AdvancedDeploy via GitOps with image digests.IntermediateCanary a new image on a Swarm service.AdvancedDocker build is flaky in CI due to network errors on package installs.IntermediateRun database migrations in the deploy flow of containerized apps.Intermediate