☸️
Kubernetes
DevOps Cloud & DevOpsInstall Command
npx clawhub@latest install kubernetes
Installation Guide
1
Check Environment
Make sure Node.js 22+ and OpenClaw are installed. Run openclaw --version in your terminal to verify.
2
Run Installation
Run the install command above in your terminal. ClawHub will automatically download and install Kubernetes to the ~/.openclaw/skills/ directory.
3
Verify Installation
Run openclaw skills list to check your installed skills and confirm Kubernetes appears in the list.
4
Configure (Optional)
Follow the configuration instructions in the description below to add skill settings to ~/.config/openclaw/openclaw.json5.
Manual Installation: Copy the Skill folder to
~/.openclaw/skills/ or the skills/ directory in your project root. Make sure the folder contains a SKILL.md file.
Pod Management
Service Deployment
Log Viewing
Detailed Description
The Kubernetes skill turns OpenClaw into your K8s operations assistant, managing cluster resources with natural language.
Core Features
- Pod Management: List, inspect, and delete Pods; read Pod logs
- Deployment Management: Create, update, and scale Deployments
- Service Management: View and manage Services and Ingresses
- Config Management: View and update ConfigMaps and Secrets
- Namespaces: Switch between and operate across different namespaces
- Troubleshooting: View events, describe resources, and diagnose issues
Configuration
Requires a locally configured kubeconfig file.
{
skills: {
kubernetes: {
kubeconfigPath: "~/.kube/config",
defaultNamespace: "default",
allowDestructive: false
}
}
}
Use Cases
- "Are there any Pods in CrashLoopBackOff in the production namespace?"
- "Scale the web-app Deployment to 5 replicas"
- "Show the last 100 lines of logs for the api-server Pod"
- "List Ingress resources across all namespaces"