Skip to main content
2 of 2
edited title
Pierre.Vriens
  • 7.2k
  • 14
  • 37
  • 84

How to update pods if version hasn't changed?

During development we are continually building a Docker image with the same version (say 0.0.1-development) as there is no need to bump for each minor change. We do eventually bump when additional features are added.

We've discovered that kubectl set image deployment/ourdeployment doesn't force the updated container to be pulled from Dockerhub and run if the version in the image hasn't changed.

In the deployment we have imagePullPolicy: Always but this doens't seem to have any effect.

Is there a way we can achieve the desried behaviour of pulling down the image even if the version hasn't bumped, replacing the old containers each time?

Caledonia91
  • 383
  • 2
  • 10