在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用kubernetes
星标3
分支0
更新时间2026年2月17日 15:54
Manage Kubernetes clusters via kubectl
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Manage Kubernetes clusters via kubectl
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Google Calendar — list, create, and manage events via gcal CLI
Manage HubSpot CRM — contacts, companies, deals, tickets
Manage Shopify store — products, orders, customers, inventory
Configure audio transcription and image/video understanding for channels
AWS CLI for S3, EC2, Lambda, CloudWatch, RDS, and ECS
Google Calendar — list, create, and manage events via gcal CLI
| name | kubernetes |
| description | Manage Kubernetes clusters via kubectl |
| metadata | {"openclaw":{"always":false,"emoji":"☸️"}} |
Manage Kubernetes clusters via kubectl.
Check if installed:
command -v kubectl && kubectl version --client
Install:
# macOS
brew install kubectl
# Ubuntu / Debian
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl && sudo mv kubectl /usr/local/bin/
# Or via apt (see https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)
sudo apt update && sudo apt install -y kubectl
# Pods
kubectl get pods -A # all namespaces
kubectl get pods -n <ns> -o wide # with IPs and nodes
kubectl describe pod <pod> -n <ns>
kubectl logs <pod> -n <ns> --tail=100
kubectl logs <pod> -n <ns> -c <container> # multi-container
kubectl exec -it <pod> -n <ns> -- sh
# Deployments
kubectl get deployments -n <ns>
kubectl describe deployment <name> -n <ns>
kubectl scale deployment <name> --replicas=3 -n <ns>
kubectl rollout status deployment <name> -n <ns>
kubectl rollout restart deployment <name> -n <ns>
kubectl rollout undo deployment <name> -n <ns>
# Services
kubectl get svc -n <ns>
kubectl describe svc <name> -n <ns>
kubectl port-forward svc/<name> 8080:80 -n <ns>
# ConfigMaps and Secrets
kubectl get configmap -n <ns>
kubectl get secret -n <ns>
kubectl get secret <name> -n <ns> -o jsonpath='{.data}'
# Events (useful for debug)
kubectl get events -n <ns> --sort-by='.lastTimestamp'
# Top (metrics)
kubectl top pods -n <ns>
kubectl top nodes
# Nodes
kubectl get nodes -o wide
kubectl describe node <name>
kubectl cordon <node> # mark unschedulable
kubectl drain <node> --ignore-daemonsets --delete-emptydir-data
# Apply manifest
kubectl apply -f <file.yaml>
kubectl apply -f <directory>/
# Dry run
kubectl apply -f <file.yaml> --dry-run=client
# Delete
kubectl delete -f <file.yaml>
kubectl delete pod <pod> -n <ns>
# List contexts
kubectl config get-contexts
# Switch context
kubectl config use-context <name>
# View current context
kubectl config current-context
-o yaml or -o json for detailed output--watch to monitor changes in real time-l app=myapp to filter by labels-n <namespace> to avoid surprises