InitContainer image update in StatefulSet

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: v1.16.15-gke.6000
Cloud being used: GKE

When updating the image of an InitContainer for a StatefulSet, a new Pod is not started.

Is it a feature? Why?

Can you double check your update strategy? spec.updateStrategy. If its set to OnDelete it’ll only update the instance once the current one is deleted.

I have this config fr update Strategy:

      partition: 0
    type: RollingUpdate