← 返回 Skills 市场
sky-lv

Skylv Kubernetes Automation

作者 SKY-lv · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
81
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install skylv-kubernetes-automation
功能描述
Deploy, scale, and troubleshoot Kubernetes clusters. Manage pods, deployments, services with natural language commands. No kubectl memorization needed.
使用说明 (SKILL.md)

kubernetes-automation

Talk to your Kubernetes cluster in plain English. Deploy apps, scale services, debug pods — no kubectl cheatsheet needed.

What It Does

  • Deploy applications — From YAML files or with natural language
  • Scale services — Adjust replicas up or down instantly
  • Monitor health — Check pod status, resource usage, events
  • Debug issues — Diagnose crashes, view logs, describe resources
  • Manage configs — ConfigMaps, Secrets, Namespaces
  • Handle rollouts — Rolling updates, rollbacks, canary deployments

Quick Start

# 1. Check cluster connection
kubectl cluster-info

# 2. Deploy an application
deploy app from ./deployment.yaml to production

# 3. Check if it's running
get pod status in production namespace

# 4. Scale if needed
scale my-app to 5 replicas

Common Use Cases

🚀 Deploy New Application

# Deploy from YAML
deploy app from deployment.yaml to production

# Or create with natural language
create deployment my-api with image my-api:v2.1.0 port 8080

📊 Monitor Cluster Health

# Check all pods
get pod status in all namespaces

# View resource usage
get resource usage for production namespace

# See recent events
get events from last hour in production

🔧 Debug Failing Pods

# Find crashed pods
find pods with status CrashLoopBackOff

# View logs
get logs from pod my-api-xyz123 --tail 100

# Describe for details
describe pod my-api-xyz123

📈 Scale for Traffic

# Scale up for high traffic
scale payment-api to 10 replicas

# Scale down to save costs
scale payment-api to 2 replicas

# Autoscale based on CPU
set autoscale for my-app min 2 max 10 cpu 70%

All Commands

Command Purpose
deploy app from \x3Cyaml> Deploy application
get pod status Check pod health
scale \x3Cname> to \x3Cn> Change replica count
get logs from pod \x3Cname> View container logs
describe pod \x3Cname> Detailed pod info
get events Recent cluster events
rollback \x3Cdeployment> Undo last deployment
set autoscale Configure HPA

Requirements

  • kubectl configured and connected to cluster
  • Kubernetes cluster access (any cloud or local)
  • Optional: Helm for chart deployments, Kustomize for overlays
安全使用建议
Install only if you intend the agent to operate Kubernetes through your configured kubectl access. Before use, set a safe kubectl context, use a dedicated least-privilege service account, restrict namespaces, require confirmation for any deploy/scale/rollback/autoscale action, and avoid exposing production secrets or logs unnecessarily.
功能分析
Type: OpenClaw Skill Name: skylv-kubernetes-automation Version: 1.0.1 The skill bundle consists of documentation and instructions (SKILL.md) for an AI agent to manage Kubernetes clusters via kubectl. The instructions are clearly aligned with the stated purpose of deploying, scaling, and troubleshooting applications, and there is no evidence of malicious intent, data exfiltration, or prompt injection attacks.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The described purpose matches the SKILL.md content: deploying, scaling, monitoring, debugging, and rolling back Kubernetes workloads. Those are legitimate Kubernetes automation capabilities, but they are high-impact operations.
Instruction Scope
The skill presents natural-language commands for production deploys, scaling, autoscaling, and rollbacks, but it does not document guardrails such as dry-run defaults, context/namespace confirmation, change previews, or approval before mutating a cluster.
Install Mechanism
There is no install script or code to analyze, which limits supply-chain execution risk. However, the registry metadata declares no required binaries or credentials while SKILL.md says kubectl must already be configured.
Credentials
The skill is intended to operate against any Kubernetes cluster, including production, and includes commands that can affect availability, cost, configuration, logs, and secrets.
Persistence & Privilege
No persistence mechanism is shown, but the skill assumes use of the user's existing kubectl/Kubernetes privileges without bounding the role, namespace, cluster context, or permitted mutations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skylv-kubernetes-automation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skylv-kubernetes-automation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Updated SKILL.md with a rewritten, user-friendly description and detailed command examples. - Added quick start, use case sections, and a formatted command reference table. - Expanded feature explanations, including natural language deployment and scaling. - Clarified requirements for use (kubectl, cluster access, optional tools). - Improved readability and guidance for new users.
v1.0.0
Initial release of kubernetes-automation skill: - Provides Kubernetes cluster management and automation features for AI agents. - Supports deploying, scaling, monitoring, and troubleshooting K8s resources. - Includes commands for application deployment, status checking, scaling, and debugging. - Manages configmaps, secrets, namespaces, and integrates with service meshes like Istio and Linkerd. - Allows for cluster backup and restore operations. - Requires kubectl and Kubernetes cluster access; optional support for Helm and Kustomize.
元数据
Slug skylv-kubernetes-automation
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Skylv Kubernetes Automation 是什么?

Deploy, scale, and troubleshoot Kubernetes clusters. Manage pods, deployments, services with natural language commands. No kubectl memorization needed. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 81 次。

如何安装 Skylv Kubernetes Automation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install skylv-kubernetes-automation」即可一键安装,无需额外配置。

Skylv Kubernetes Automation 是免费的吗?

是的,Skylv Kubernetes Automation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Skylv Kubernetes Automation 支持哪些平台?

Skylv Kubernetes Automation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Skylv Kubernetes Automation?

由 SKY-lv(@sky-lv)开发并维护,当前版本 v1.0.1。

💬 留言讨论