Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete completed kubernetes pod

$ kubectl delete pod $(kubectl get pods | grep Completed | awk '{print $1}')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #completed #kubernetes #pod
ADD COMMENT
Topic
Name
4+9 =