Skip to content

Trigger rollout with a change to spec.template

Hannes Heine requested to merge pr245head into pr245base

Created by: Tirokk

roschaefer Authored by roschaefer Merged


The documentation clearly says:

Note: A Deployment’s rollout is triggered if and only if the
Deployment’s pod template (that is, .spec.template) is changed, for
example if the labels or container images of the template are updated.
Other updates, such as scaling the Deployment, do not trigger a
rollout.

Read: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#updating-a-deployment

Merge request reports