Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kubectl pod stuck terminating

kubectl delete pod <PODNAME> --grace-period=0 --force --namespace <NAMESPACE>
Comment

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
Comment

kubernetes pod stuck in terminating

kubectl get pods --all-namespaces | awk '{if ($4=="Terminating") print "oc delete pod " $2 " -n " $1 " --force --grace-period=0 ";}' | sh
Comment

PREVIOUS NEXT
Code Example
Shell :: git push disable hooks 
Shell :: EsLint global installation 
Shell :: post webhook bash 
Shell :: laravel version global upgrade 
Shell :: cmd delete folder and all contents 
Shell :: docker compose stop and start only specific 
Shell :: function in bash 
Shell :: mac see current path2 
Shell :: git revert back to specific commit 
Shell :: flush the port 3001 
Shell :: git merge branch without merge ocmmit 
Shell :: install python docker 
Shell :: Not an editor command: LspInstall 
Shell :: tar command 
Shell :: activate virtual environment in ubuntu 
Shell :: github desktop arch linux 
Shell :: linux terminal delete file 
Shell :: linux update 
Shell :: see changes git command line 
Shell :: if statement in shell script 
Shell :: linux kill process 
Shell :: git add alias 
Shell :: nano go to line 
Shell :: aws cli 
Shell :: heroku delete branch 
Shell :: install rsync centos 
Shell :: doc.find is not a function 
Shell :: Bell char 
Shell :: git installing in linux 
Shell :: renomeando branch 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =