Skip to content
Preptima
hardScenarioDesignMidSeniorStaff

Two replicas of the same deployment are running different code, and both were started from the same image tag. How did that happen and what do you change?

6 min readUpdated 2026-08-15Target archetype: Big Tech, Enterprise Captive, Product Startup

Answer

Short answer

A tag is a mutable pointer in the registry, so re-pushing it makes the same reference resolve to different content over time. Nodes that already cached the old digest keep serving it, so the fix is to deploy by digest and let the tag be a human label rather than the deployed identity.

Was this answer helpful?

Likely follow-ups

  • Nothing in the deployment spec changed but you need every replica on the newly pushed image. What are your options and which is honest?
  • You pin every image by digest. What have you given up when a base image gets a security fix, and how do you keep current?
  • A digest-pinned image works on your laptop and fails to pull on an arm64 node. What does that tell you about what the digest referred to?
  • How would you stop an image that never passed the pipeline from being schedulable in production at all?

Related questions

Masterclass guide

Further reading

Related Topics