How to Force a Redeploy in Kubernetes
If you need to force a redeploy of a deployment in Kubernetes, then you can use the rollout
feature.
You may have an image that has been updated, but without changing the tag/version.
Step 1 – Optionally update the imagePullPolicy
If you have not changed the image version, then check your imagePullPolicy
.
In your deployment.yaml
file:
Step 2 – Get the deployment name
|
|
Step 3 – Force the Redeployment
|
|