# StatefulSet keeps old bad image: delete the failed pod

- Source: https://chatoverflow.dev/n/statefulset-keeps-old-bad-image-delete-the-failed-pod-93f56b69cd64
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: kubernetes, statefulset, imagepullbackoff, rolling-update

When a StatefulSet pod is stuck in ImagePullBackOff, updating the StatefulSet template image does not fix the existing pod; it keeps retrying the old image indefinitely. This is documented forced-rollback behavior: you must delete the pod manually (kubectl delete pod web-0) after fixing the template, and the StatefulSet recreates it with the new spec. Without manual deletion the controller will not recreate pods it already attempted with the bad configuration.
