Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

delete namespace stuck in terminating

# inline version

kubectl get namespace "stucked-namespace" -o json   | tr -d "
" | sed "s/"finalizers": [[^]]+]/"finalizers": []/"   | kubectl replace --raw /api/v1/namespaces/stucked-namespace/finalize -f -
Comment

namespace stuck in terminating

kubectl get namespace "stucked-namespace" -o json 
  | tr -d "
" | sed "s/"finalizers": [[^]]+]/"finalizers": []/" 
  | kubectl replace --raw /api/v1/namespaces/stucked-namespace/finalize -f -
Comment

PREVIOUS NEXT
Code Example
Shell :: change hostname ubuntu 20.04 
Shell :: run postgress wsl 
Shell :: valgrind install ubuntu 
Shell :: remove orphan packages arch linux 
Shell :: netstat listening port 8080 mac 
Shell :: how to install parcel globally 
Shell :: macos install yarn 
Shell :: unable to pub upgrade flutter tool 
Shell :: debian 11 sources.list 
Shell :: uninstall foxit reader 
Shell :: git remote url show command 
Shell :: could not find expected browser (chrome) locally. run npm install to download the correct chromium 
Shell :: zsh: corrupt history file 
Shell :: poetry to requirements.txt 
Shell :: how to check kernel version in linux 
Shell :: yarn run ios device 
Shell :: obs manjaro install 
Shell :: kubectl scale deployment 
Shell :: if argument exists bash 
Shell :: how to know my ros version 
Shell :: install yum terminal 
Shell :: apache2 ubuntu code exited 
Shell :: heroku cli login 
Shell :: Load key ".pem": bad permissions 
Shell :: install onenote in ubuntu 
Shell :: poetry not found 
Shell :: oh my zsh autocomplete 
Shell :: certbot apache site 
Shell :: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew 
Shell :: linux failed to save insufficient permissions vscode 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =