A deployment pipeline needs a smoke test after rollout and automatic rollback on failure.
IntermediateScenarioDeployment Strategies and GitOps
Answer
Situation read → Post-deploy verification.
What I'd do →
kubectl rollout status deploy/app -n prod --timeout=300s
curl -fsS https://app.example.com/healthz
./smoke-tests.sh || { kubectl rollout undo deploy/app -n prod; exit 1; }
In Argo CD use PostSync hook jobs; in Argo Rollouts use analysis.
Why → A deploy is not done until it is verified.
Interview tip → Verify through the real ingress path, not only pod readiness.