macOS
brew install kubetrimlocal Homebrew formula metadata
brew / Rang 9534
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für kubetrim in AI-Agent-Workflows.
Installation
brew install kubetrimlocal Homebrew formula metadata
nix profile install nixpkgs#kubetrimnixpkgs package indexes · pkgs/by-name/ku/kubetrim/package.nix · Quelle: api.github.com
sudo zypper install kubetrimopenSUSE Tumbleweed package metadata · kubetrim · Quelle: download.opensuse.org
Überblick
Trim your KUBECONFIG automatically
Verlauf
kubetrim is a small Alex Ellis utility for pruning stale Kubernetes contexts and clusters from a kubeconfig. It is a deliberately narrow CLI: load a kubeconfig, test contexts, and write back the entries that still work.
The project appeared as a compact Go repository with a README centered on one job: tidying old and broken cluster and context entries. Its own Q&A compares the tool to doing the work manually with kubectl config commands and notes that kubectx removes contexts but leaves additional cleanup steps.
kubetrim is niche but package-manager friendly: the batch input records Homebrew, Nix, and zypper packaging, and the README documents arkade and release downloads. That footprint is typical for Alex Ellis utilities that solve a recurring operator annoyance with a small binary.
Users run kubetrim against the kubeconfig selected by KUBECONFIG, optionally use --write=false for a dry run, and can keep unreachable contexts by listing them in ~/.local/kubetrim/keep.txt. The README also suggests cron or shell startup usage for people who accumulate short-lived clusters.
kubetrim matters less as a broad Kubernetes platform and more as a tiny example of packageable operational hygiene. It wraps a manual, error-prone kubectl config cleanup routine into a single command with conservative behavior when every cluster appears unreachable.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.local/kubetrim/keep.txtExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
kubetrim | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/alexellis/kubetrim
Installationsmetadaten
| Paketschlüssel | brew:kubetrim |
|---|---|
| Version | 0.0.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/kubetrim |
| Homepage | https://github.com/alexellis/kubetrim |
| Repository | https://github.com/alexellis/kubetrim |
| Lizenz | MIT |
| Quellarchiv | https://github.com/alexellis/kubetrim/archive/refs/tags/v0.0.2.tar.gz |
| Zuletzt aktualisiert | 2026-09-11T17:22:54Z |
| Pulse | updated |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kubetrim |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
kubetrim
nix profile install nixpkgs#kubetrimkubetrim 0.0.1-1.9
Trim your KUBECONFIG automatically
https://github.com/alexellis/kubetrim
sudo zypper install kubetrimQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.