Skip to content

Instantly share code, notes, and snippets.

@rmpestano
Created April 6, 2019 23:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rmpestano/8ca08cc5c99c0016fe1bb330e461d6b7 to your computer and use it in GitHub Desktop.
Save rmpestano/8ca08cc5c99c0016fe1bb330e461d6b7 to your computer and use it in GitHub Desktop.
restart all pods
kubectl patch deployment cdi-crud -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