Created
October 19, 2018 17:36
-
-
Save SkamDart/f8ed7e585b2a183211d3e0be58b46ff2 to your computer and use it in GitHub Desktop.
one liner delete all cronjobs with name
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
kubectl get cronjob | grep 'jobprefix' | awk '{print $1}' | xargs kubectl delete cronjob |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment