Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
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.
bin
docs
src
.gitignore
.prettierrc
LICENSE
README.md
jest.config.js
package.json
tsconfig.json
yarn.lock

README.md

Kube-Cleaner

kube-cleaner is a utility to keep your kubectl config-file in check.

Let's say you're using kops to manage Kubernetes clusters on AWS. You're not upgrading your clusters in-place but instead, you replace your clusters regularly. Maybe you've moved from minikube to Docker's Docker for Desktop. Or you're setting up lots of clusters for clients that you don't need anymore after the contract is done.

There are several valid reasons for your kubectl config to grow.

Of course you can manually clean them up or open $HOME/.kube/config in your text editor and edit YAML by hand, but you're not from the stone age, are you?

kube-cleaner makes it easy to keep track of your clusters, users and contexts and to delete them, as soon as you no longer need them.

screenshot showing first output of the applicaton

screenshot showing second output of the applicaton

Install

yarn global add kube-cleaner

or

npm install -g kube-cleaner

This assumes your yarn/npm-PATH is setup correctly. Please refer to their docs if kube-cleaner is not an available command after installation.

You can’t perform that action at this time.