kubetrim
github.com · Open source · Active
Trims a kubeconfig file down to the clusters you can reach
- Developer tools
- Open source
- Go
- Day-7 check
- Day-30 check
- kubernetes
- kubeconfig
- cli
- cleanup
- context
- Stars
- 127
- Forks
- 12
- Open issues
- 4
- Last commit
- Releases
- 7
- Found
- 2 years ago
GitHub figures as of . They are context, not a ranking.
kubetrim removes old and broken cluster and context entries from your KUBECONFIG file by connecting to each one and keeping only the entries it can access. It suits Kubernetes users whose config has collected stale contexts from clusters they no longer use.
Repository description on GitHub: “Trim 📏 your KUBECONFIG automatically”
What it does
- Loads the config named by KUBECONFIG
- Tests a connection to each cluster entry
- Writes a new file with only the reachable entries
Good for
- Clean up a kubeconfig that holds many stale contexts
- Keep a working kubeconfig after retiring old clusters
Suits: Kubernetes users with cluttered or outdated kubeconfig files.
What you can try
Install it from Homebrew, the channel where this listing appears, and point it at your KUBECONFIG.
Install
brew install kubetrimConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw kubetrim on , when its repository was created; it is packaged in Homebrew. The oldest published release on GitHub is v0.0.1-rc1, dated . Its first tagged release landed the same day it was found. 7 releases have been published in total; the latest is v0.0.3 ().
Day-7 and day-30 updates
Day 7 3 releases shipped
- 3 releases in the first 7 days: v0.0.1-rc1 (19 Aug 2024), v0.0.1-rc2 (19 Aug 2024), v0.0.1-rc3 (19 Aug 2024)
Checked , later than day 7 because tracking began after.
Day 30 4 releases shipped
- 4 releases in the first 30 days: v0.0.1-rc1 (19 Aug 2024), v0.0.1-rc2 (19 Aug 2024), v0.0.1-rc3 (19 Aug 2024), v0.0.1-rc4 (9 Sep 2024)
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: alexellis/kubetrim
- Found: its repository was created; it is packaged in Homebrew. Homebrew
- Release v0.0.1-rc1
- Release v0.0.1-rc2
- Release v0.0.1-rc3
- Release v0.0.1-rc4
- Release v0.0.1
- Release v0.0.2
- Release v0.0.3
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was kubetrim released?
- Its first tagged release on GitHub is dated 19 Aug 2024. Kip found it on Homebrew on 19 Aug 2024.
- Is kubetrim open source?
- Its source is public on GitHub at alexellis/kubetrim under the MIT licence.
- What does kubetrim run on?
- Command line.
- Is kubetrim free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is kubetrim still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Homebrew | listing official API record | |
| GitHub repository | alexellis/kubetrim REST API record | |
| GitHub Releases | release list REST API record |
Stable ID brew-kubetrim. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.