Skip to content

Kill a Kubernetes namespace suffering from being stuck in "Terminating"

Notifications You must be signed in to change notification settings

ctron/kill-kube-ns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

kill-kube-ns

Kill a Kubernetes namespace/OpenShift project which is stuck in the state of "Terminating".

Also see: kubernetes/kubernetes#60807

This scripts automates the steps suggestes by some people on the comments of the issue.

Note: Use at your own risk! It works for me though.

Usage

./kill-kube-ns myproject

Note: You will need to be logged in to your cluster, and have the necessary permissions. Make sure that your port 8001 is available.

Pre-requisites

Your will need to have the following things installed:

  • bash
  • curl
  • jq
  • kubectl

About

Kill a Kubernetes namespace suffering from being stuck in "Terminating"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages