Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kubernetes pod stuck in terminating

for p in $(kubectl get pods | grep Terminating | awk '{print $1}'); do kubectl delete pod $p --grace-period=0 --force;done
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #kubernetes #pod #stuck #terminating
ADD COMMENT
Topic
Name
4+5 =