Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexellis authored Aug 21, 2024
1 parent af5b02f commit fe7b7a5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
kubetrim
====================================================

Tidy up old Kubernetes clusters from kubeconfig.
Trim 📏 your KUBECONFIG automatically.

kubetrim tries to connect to each cluster in the current kubeconfig file, and removes any that are unreachable, or which error.
kubetrim tidies up old and broken cluster and context entries from your kubeconfig file.

It works like this:

1) Loads the config specified by KUBECONFIG
2) Tries to connect to each
3) Writes a new file with only the ones that it could access

Q&A:

Expand Down

0 comments on commit fe7b7a5

Please sign in to comment.