analyzekubernetesclusterissuesthroughmcpwithk8sgpt
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "analyzekubernetesclusterissuesthroughmcpwithk8sgpt" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a2ad9f551d6a288cb0e565538c13b2ac1c5db509060f3a85150965ab1fde7056. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/analyze-kubernetes-cluster-issues-through-mcp-with-k8sgpt before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Run K8sGPT as an MCP server so agents can scan a Kubernetes cluster, interpret unhealthy resources, and return prioritized remediation suggestions in natural language.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Analyze Kubernetes cluster issues through MCP with K8sGPT"
slug: "analyze-kubernetes-cluster-issues-through-mcp-with-k8sgpt"
version: "1.0.0"
displayName: "Analyze Kubernetes cluster issues through MCP with K8sGPT"
summary: "将 K8sGPT 运行为 MCP 服务器,以便代理可以扫描 Kubernetes 集群、解释不健康的资源,并以自然语言返回优先级修复线索。"
license: "MIT"
description: "将 K8sGPT 运行为 MCP 服务器,以便代理可以扫描 Kubernetes 集群、解释不健康的资源,并以自然语言返回优先级修复线索。"
github_stars: 7687
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Runbooks & Diagnostics"
framework: "MCP"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 7687通过 MCP 使用 K8sGPT 分析 Kubernetes 集群问题
将 K8sGPT 运行为 MCP 服务器,以便代理可以扫描 Kubernetes 集群、解释不健康的资源,并以自然语言返回优先级修复线索。
先决条件
可访问的 Kubernetes 集群、K8sGPT 和 MCP 兼容客户端
安装
使用与您的环境匹配的上游安装或设置路径:
- brew install k8sgpt
- brew tap k8sgpt-ai/k8sgpt
- 从源代码构建。k8sgpt 安装 Clang 或运行 brew install gcc。
上游的要求和注意事项:
- K8sGPT 可以与 Claude Desktop 集成以提供 AI 驱动的 Kubernetes 集群分析。此集成需要 K8sGPT v0.4.14 或更高版本。 Analyzer Node 耗时 160.109833ms
- Node
基本用法或入门说明:
-
如果按照建议安装 gcc,问题仍然存在。因此,您需要安装 build-essential 包。
-
目前,默认 AI 提供商是 OpenAI,您需要从 OpenAI 生成 API 密钥
-
Extracted from upstream docs: https://raw.githubusercontent.com/k8sgpt-ai/k8sgpt/HEAD/README.md
文档
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 Kubernetes 集群健康诊断与修复建议,解决运维人员核心痛点
- 集成 K8sGPT 与 MCP,实现自然语言交互,提升诊断效率
Highlights
- 触发描述清晰完整,准确涵盖核心功能与目标用户场景
Areas to improve
-
缺少端到端使用示例 Reported severity: Minor
文档未提供具体的 MCP 调用示例或完整操作流程
Recommendation: 补充一个从启动 MCP 服务器到获取集群分析报告的完整示例
-
步骤划分不够清晰 Reported severity: Minor
安装与配置步骤混杂,缺乏明确的 Phase 划分
Recommendation: 将流程划分为 '环境准备'、'K8sGPT 安装'、'MCP 服务器配置'、'客户端连接' 等清晰阶段
Highlights
- 包含先决条件、安装说明和官方文档链接,结构基本完整
Areas to improve
-
安装说明含无关内容 Reported severity: Minor
文档中 'Analyzer Node 耗时 160.109833ms' 为无关片段,易造成混淆
Recommendation: 移除无关的技术日志片段,保持说明文档的专注性
-
异常处理覆盖不足 Reported severity: Minor
未说明常见错误(如 API 密钥无效、集群权限不足、网络连接问题)的排查方法
Recommendation: 增加 '常见问题与故障排除' 章节,覆盖典型错误场景
Highlights
- 依赖的上游工具(K8sGPT)来源明确,GitHub 仓库信息完整
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 32, 34 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 44
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- docs.k8sgpt.ai
- github.com
- openai.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.