https://github.com/ctron/kill-kube-ns
Kill a Kubernetes namespace suffering from being stuck in "Terminating"
https://github.com/ctron/kill-kube-ns
kubernetes openshift
Last synced: about 1 year ago
JSON representation
Kill a Kubernetes namespace suffering from being stuck in "Terminating"
- Host: GitHub
- URL: https://github.com/ctron/kill-kube-ns
- Owner: ctron
- Created: 2019-01-18T10:05:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-29T08:50:49.000Z (almost 7 years ago)
- Last Synced: 2025-04-16T01:08:30.539Z (about 1 year ago)
- Topics: kubernetes, openshift
- Language: Shell
- Size: 1.95 KB
- Stars: 144
- Watchers: 5
- Forks: 51
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kill-kube-ns
Kill a Kubernetes namespace/OpenShift project which is stuck in the state of "Terminating".
Also see: [kubernetes/kubernetes#60807](https://github.com/kubernetes/kubernetes/issues/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
~~~sh
./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