Skip to content

Instantly share code, notes, and snippets.

@so-jelly
Created April 10, 2019 18:01
Show Gist options
  • Save so-jelly/1e6b1b8333fbe10c104eb60baac63d60 to your computer and use it in GitHub Desktop.
Save so-jelly/1e6b1b8333fbe10c104eb60baac63d60 to your computer and use it in GitHub Desktop.
kubectl patch deployment web -p "{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"date\":\"`date +'%s'`\"}}}}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment