Interview Prep/CI/CD/Deployment, Kubernetes and GitOps Failures

New deployment succeeds but still serves the old version.

IntermediateTroubleshootingDeployment, Kubernetes and GitOps Failures
Answer

Likely causes → Mutable tag (latest) with imagePullPolicy: IfNotPresent, CDN/cache, wrong service selector.

Diagnose → kubectl get pod -o jsonpath='{.items[*].status.containerStatuses[*].imageID}'.

Fix → Deploy by unique tag or digest, purge caches.

Prevent → Immutable tags only.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Deployment, Kubernetes and GitOps Failures