kubectl patch deployment DEPLOYMENT_NAME -p "{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"date\":\"`date +'%s'`\"}}}}}"
-
-
Save arashkaffamanesh/6b63680f315d06b6b84466719ee3bba0 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