Skip to content
Kill a Kubernetes namespace suffering from being stuck in "Terminating"
Shell
Branch: master
Clone or download
Pull request Compare This branch is 1 commit behind ctron:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
kill-kube-ns

README.md

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.

Pre-requisites

Your will need to have the following things installed:

  • bash
  • curl
  • jq
  • kubectl
You can’t perform that action at this time.