Last active
May 9, 2019 08:00
-
-
Save yuriburger/ad83d16a98d44603faee705b73deb8db to your computer and use it in GitHub Desktop.
[trigger update] Trigger a deployment by patching a label #kubernetes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// vim: syntax=bash | |
k patch deployment <servicename> -p "{\"spec\": {\"template\": {\"metadata\": { \"labels\": { \"redeploy\": \"$(date +%s)\"}}}}}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment