Which risks and test oracles matter most for container images during a rolling deployment?
Answer
Prioritize the risks that could invalidate the user or business outcome before treating configuration and infrastructure as versioned product behavior with observable dependencies. Focus on container images during a rolling deployment. Use declared configuration, health signals and known-good environment baselines as the oracle. Cover startup, connectivity, permissions, capacity, rollout and rollback. Keep data and dependencies controlled enough to reproduce failures. Release only when the environment is reproducible and failure behavior is diagnosable before user impact.
Strong answer includes
- explicit risk and test oracle for container images
- checks configuration as code
- covers rollout and rollback
- measurable evidence and residual-risk statement
Practical example
During a rolling deployment, old and new container versions served traffic side by side for several minutes, and the new image's API response shape wasn't backward compatible with the old image's client code still running. The key risk was cross-version compatibility during the overlap window, with readiness and liveness probes plus a canary error-rate check as the oracle for whether to continue or roll back.