Created
November 20, 2017 16:30
-
-
Save microwaves/67d001a083264d398fe1774332baeed8 to your computer and use it in GitHub Desktop.
pod reboot
This file contains hidden or 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
| kubectl patch deployment mydeployment \ | |
| -p'{"spec":{"template":{"spec":{"containers":[{"name":"mycontainer","env":[{"name":"RESTART_","value":"$(date -uIseconds)"}]}]}}}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment