Automic VaultAutomic Vault

brew

kubetrim を Homebrew, Nix, zypper でインストール

kubetrim のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install kubetrim

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#kubetrim

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

openSUSE zypper確認済み · 92%
sudo zypper install kubetrim

openSUSE Tumbleweed package metadata · kubetrim · ソース: download.opensuse.org

概要

パッケージ概要

Trim your KUBECONFIG automatically

コマンドとエイリアス

  • kubetrim

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
kubetrimcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.0.2
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v0.0.2

https://github.com/alexellis/kubetrim

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:kubetrim
バージョン0.0.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/kubetrim
ホームページhttps://github.com/alexellis/kubetrim
リポジトリhttps://github.com/alexellis/kubetrim
上流ドキュメントhttps://github.com/alexellis/kubetrim#readme
ライセンスMIT
ソースアーカイブhttps://github.com/alexellis/kubetrim/archive/refs/tags/v0.0.2.tar.gz
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

kubetrim

nix profile install nixpkgs#kubetrim
  • normalized package name match
  • 一致条件: 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.6

Trim your KUBECONFIG automatically

https://github.com/alexellis/kubetrim

sudo zypper install kubetrim
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: kubetrim
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Kubetrim
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: kubetrim from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment