Automic VaultAutomic Vault

brew

kubectl-ai を Homebrew, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install kubectl-ai

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#kubectl-ai

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

概要

パッケージ概要

AI powered Kubernetes Assistant

コマンドとエイリアス

  • kubectl-ai

履歴

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

kubectl-ai is Google's AI-assisted Kubernetes command-line assistant. It translates natural-language intent into Kubernetes operations and can run as an interactive shell, stdin-driven command, kubectl plugin via Krew, MCP client, or MCP server.

プロジェクトの歴史

The GitHub repository was created on 2025-01-20 under the GoogleCloudPlatform organization. Its README framed the tool around making Kubernetes management more accessible by turning user intent into precise operations, while still requiring kubectl to be installed and configured.

The project evolved quickly through many 0.0.x releases during 2025 and early 2026, adding provider breadth and integration modes rather than presenting itself as a stable, long-lived Kubernetes subcommand.

採用の歴史

kubectl-ai sits at the intersection of two high-adoption operator habits: kubectl-centric cluster work and AI-assisted terminal workflows. The README documents Gemini, Vertex AI, Azure OpenAI, OpenAI, Grok, Bedrock, Ollama, and llama.cpp support, which made the tool usable across hosted and local model setups.

The repository metadata observed on 2026-07-01 showed more than 7000 GitHub stars, a strong early signal for a project created in 2025.

使われ方

Users run `kubectl-ai` interactively, pass a task as an argument with quiet mode, pipe prompt text through stdin, or install it as the `kubectl ai` plugin via Krew. The README also describes environment-variable API keys for hosted providers and local model options for Ollama and llama.cpp.

Its package-manager role is to put an AI command generator and executor beside kubectl rather than inside the cluster, so installation is a developer-workstation concern.

パッケージ好きにとっての重要性

For package nerds, kubectl-ai is a marker of the 2025 shift from Kubernetes CLIs that only wrap APIs to CLIs that broker human intent through LLM providers. The package is interesting because it carries both classic kubectl-plugin distribution and newer MCP integration in one small binary workflow.

タイムライン

  • 2025-01-20: GitHub repository created.
  • 2025: README documented Krew installation as `kubectl krew install ai` and invocation as `kubectl ai`.
  • 2025-11-03: Release v0.0.27 published.
  • 2026-01-21: Release v0.0.29 published.
  • 2026-03-27: Release v0.0.31 published.

Related projects

  • kubectl, Krew, MCP, Gemini, Vertex AI, OpenAI-compatible APIs, Bedrock, Ollama, and llama.cpp form the surrounding ecosystem. Unlike kubectl plugins that expose one Kubernetes resource domain, kubectl-ai is a general assistant layered over Kubernetes operations.

セキュリティ状態

リスクレベル: orange

infrastructure mutation or orchestration signal.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • infrastructure mutation or orchestration signal

信号

  • text:kubernetes

インストール挙動

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

推奨レビュー

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

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
~/.config/kubectl-ai/config.yaml~/.config/kubectl-ai/tools.yaml~/.config/kubectl-ai/mcp.yaml~/.kube/config

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

https://github.com/GoogleCloudPlatform/kubectl-ai

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

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:kubectl-ai
バージョン0.0.31
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/kubectl-ai
ホームページhttps://github.com/GoogleCloudPlatform/kubectl-ai
リポジトリhttps://github.com/GoogleCloudPlatform/kubectl-ai
上流ドキュメントhttps://github.com/GoogleCloudPlatform/kubectl-ai#readme
ライセンスApache-2.0
ソースアーカイブhttps://github.com/GoogleCloudPlatform/kubectl-ai/archive/refs/tags/v0.0.31.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 Namekubectl-ai
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%

kubectl-ai

nix profile install nixpkgs#kubectl-ai
  • normalized package name match
  • 一致条件: Kubectl Ai
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ku/kubectl-ai/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

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

このページは 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment