kubectl patch deployment DEPLOYMENT_NAME -p "{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"date\":\"`date +'%s'`\"}}}}}"
Last active
February 21, 2020 01:20
-
-
Save BrandonPotter/7e7ea2f77fab7755b5c847c1b8929590 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