pkg.soopen package index

brew / Rang 9534

kubetrim mit Homebrew, Nix, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für kubetrim in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install kubetrim

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#kubetrim

nixpkgs package indexes · pkgs/by-name/ku/kubetrim/package.nix · Quelle: api.github.com

openSUSE zypperverifiziert · 92%
sudo zypper install kubetrim

openSUSE Tumbleweed package metadata · kubetrim · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

Trim your KUBECONFIG automatically

Befehle und Aliase

  • kubetrim

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2024: The repository copyright and release series show the tool as an Alex Ellis Go CLI.
  • 2024: v0.0.1 added the keep-file mechanism for unreachable clusters that should not be deleted.
  • 2024: v0.0.2 added a timeout when checking cluster contexts.

Related projects

  • Related tools include kubectl config, kubectx, arkade, k3sup, and other small Kubernetes operator utilities. kubetrim complements kubectx by cleaning both context and cluster entries after connectivity checks.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.local/kubetrim/keep.txt

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
kubetrimcliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-09-19
Manager-Version0.0.2
Manager aktualisiert2026-09-11
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv0.0.2

https://github.com/alexellis/kubetrim

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:kubetrim
Version0.0.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/kubetrim
Homepagehttps://github.com/alexellis/kubetrim
Repositoryhttps://github.com/alexellis/kubetrim
LizenzMIT
Quellarchivhttps://github.com/alexellis/kubetrim/archive/refs/tags/v0.0.2.tar.gz
Zuletzt aktualisiert2026-09-11T17:22:54Z
Pulseupdated
Build-Abhängigkeitengo
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekubetrim
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

kubetrim

nix profile install nixpkgs#kubetrim
  • normalized package name match
  • Abgeglichen nach: Kubetrim
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ku/kubetrim/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

kubetrim 0.0.1-1.9

Trim your KUBECONFIG automatically

https://github.com/alexellis/kubetrim

sudo zypper install kubetrim
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: kubetrim
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Kubetrim
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: kubetrim from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation