macOS
brew install k8sgptlocal Homebrew formula metadata
安装
brew install k8sgptlocal Homebrew formula metadata
nix profile install nixpkgs#k8sgptnixpkgs package indexes · pkgs/by-name/k8/k8sgpt/package.nix · 来源: api.github.com
概览
Scanning your k8s clusters, diagnosing, and triaging issues in simple English
历史
K8sGPT is a Kubernetes diagnostics CLI that combines cluster analysis with large-language-model backends, turning Kubernetes failure signals into plain-English explanations. In package-manager culture it sits at the meeting point of cloud-native operations and the 2023 wave of AI-assisted developer tooling.
The public GitHub repository was created in March 2023 under the k8sgpt-ai organization. The project describes itself as a tool for scanning Kubernetes clusters, diagnosing and triaging issues in simple English, with analyzers that encode SRE experience.
K8sGPT moved quickly from a standalone CLI idea into a broader cloud-native project surface. The documentation covers getting started flows, integrations, and operator-style use, while the repository and project site present the tool as a Kubernetes-first assistant rather than a general chatbot wrapper.
CNCF accepted K8sGPT as a Sandbox project on December 19, 2023. That milestone gave the tool a recognizable governance and discovery channel in the same ecosystem as Kubernetes, Helm, Prometheus, and other operational packages.
Homebrew and Nix packaging made the CLI easy to install into local Kubernetes troubleshooting workflows. Its adoption pattern is typical of modern cloud-native CLIs: operators install a small binary, point it at kubeconfig-backed clusters, and then decide which AI backend or integration is appropriate for their environment.
K8sGPT is commonly used as an interactive diagnostic layer for Kubernetes clusters. Users run the CLI against live cluster resources, review analyzer output, and optionally use configured AI providers to explain or triage the findings.
Because its credentials and backend settings can live in the same user-level YAML configuration, the package has an operational security dimension: it is not just a read-only formatter, but a tool that may combine Kubernetes access with AI provider credentials.
For package nerds, K8sGPT is a snapshot of the moment when AI tools became normal enough to be packaged beside kubectl-adjacent utilities. It is small, Go-based, cloud-native, and interesting precisely because it translates high-context cluster state into a single local command.
Its CNCF Sandbox status also matters: Homebrew formulae for CNCF-adjacent projects often become the fastest path for operators to try experimental infrastructure tools without committing to a cluster add-on first.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
~/.k8sgpt.yamlCredential-bearing paths to review before unattended agent runs.
~/.k8sgpt.yaml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
k8sgpt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/k8sgpt-ai/k8sgpt
安装元数据
| 软件包键 | brew:k8sgpt |
|---|---|
| 版本 | 0.4.36 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/k8sgpt |
| 主页 | https://k8sgpt.ai/ |
| 仓库 | https://github.com/k8sgpt-ai/k8sgpt |
| 上游文档 | https://docs.k8sgpt.ai/ |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/k8sgpt-ai/k8sgpt/archive/refs/tags/v0.4.36.tar.gz |
| 最后更新 | 2026-07-10T16:07:12Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | k8sgpt |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
k8sgpt
nix profile install nixpkgs#k8sgpt来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.