Why :latest is a production anti-pattern
WHAT IT TESTS: deployment determinism and reproducibility. OUTLINE: latest is mutable so pods run different code, rollbacks and pull policy break, and you should use immutable version tags or digests.
WHAT IT TESTS: whether you understand that latest is a mutable, ambiguous pointer that undermines reproducible deployments. ANSWER OUTLINE: latest does not mean newest, it is just a default tag that can move; different nodes may have cached different images, the default pull policy interacts oddly with it, and rollbacks and audits become impossible. Recommend immutable semantic version tags or pinning by digest so a given spec always runs the same bits. RED FLAG: thinking latest guarantees the freshest image cluster-wide.
Read the original → interview
- #kubernetes
- #image-tags
- #deployment
- #reproducibility
- #best-practices
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.