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 :: duing push error: RPC failed; curl 18 transfer closed with outstanding read data remaining send-pack: unexpected disconnect while reading sideband packet 
Shell :: how to install vue router 
Shell :: install pandas in python 
Shell :: show git remote url 
Shell :: command failed with exit code 1: yarn build 
Shell :: systemctl restart apache 
Shell :: surge install 
Shell :: zsh: corrupt history file 
Shell :: how to reverse an array in bash scripting? 
Shell :: install intel graphics driver ubuntu 
Shell :: git reset head to remote 
Shell :: mac os uninstall oh my zsh 
Shell :: get the size of files in a directory linux 
Shell :: how to start apache2 server 
Shell :: ubuntu start php 
Shell :: install mailspring ubuntu 
Shell :: how to configure bluetooth on ubuntu command line 
Shell :: uninstall packages linux terminal 
Shell :: install wkhtmltopdf mac 
Shell :: iptables list ubuntu 
Shell :: how to check all origins of a git 
Shell :: pip install hand tracking module 
Shell :: The upstream branch of your current branch does not match the name of your current branch. 
Shell :: how to set up a git repo on terminal 
Shell :: powershell script to disable screensaver 
Shell :: certbot get new certificate apache 
Shell :: batch substring 
Shell :: git discard local changes 
Shell :: linux zip a directory 
Shell :: install pygame on mac 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =