Skip to content

xrstf/kubenukem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kube Nukem - Nuke a CRD from your Cluster

This is a very simple program that is useful for removing a CRD and all resources of it from a cluster. For this the CRD will be deleted and then any remaining finalizers will be removed from stuck resources. Assuming no owner references block the deletion, this gets rid of all resources.

$ kubenukem mytestcrd.omnicorp.com

Installation

You need Go 1.20 installed on your machine.

go install go.xrstf.de/kubenukem

Usage

Usage of _build/kubenukem:
      --kubeconfig string   kubeconfig file to use (uses $KUBECONFIG by default)
  -v, --verbose             enable more verbose logging
  -V, --version             show version info and exit immediately

The kubeconfig can also be given using the KUBECONFIG environment variable.

License

MIT