kubectl patch deployment DEPLOYMENT_NAME -p "{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"date\":\"`date +'%s'`\"}}}}}"
Forked from BrandonPotter/kubernetes-latest-image.md
Created
August 30, 2018 19:34
-
-
Save mati865/9a5a1f396272988f232c46f8de53fda7 to your computer and use it in GitHub Desktop.
Force Kubernetes to pull latest container image in a deployment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment