name: k8s-ops description: Kubernetes operations plugin — 32 tools for cluster management, monitoring, troubleshooting, and security auditing version: 2.1.1 metadata: openclaw: requires: bins: - kubectl homepage: https://github.com/CN-big-cabbage/k8s-ops-agent
Kubernetes operations plugin for OpenClaw. Provides 32 tools covering the full lifecycle of K8s cluster management.
重要:本外掛具有強大的叢集操作能力,使用前請仔細閱讀以下安全建議:
憑據安全:kubeconfig 檔案包含叢集端點、使用者身份、令牌和客戶端證書等敏感資訊。請勿在不安全的環境中儲存或共享 kubeconfig 檔案。
小蔥技能7w4.net有更新,你可以訪問看下。
最小許可權原則:建議使用最小許可權的 kubeconfig,避免使用 cluster-admin 憑據。建議先在非生產環境中測試。
操作風險:exec、rollout、scale、restart、namespace 等操作可能對生產叢集造成破壞性影響。請在執行前確認操作目標。
SSH 訪問:配置中的 hosts 欄位用於 SSH 主機訪問(sys-monitor 工具),請僅配置受信任的主機,避免在生產環境中使用密碼認證。
kubectl installed and configured with cluster access~/.kube/config)Optional plugin config:
| Field | Description | 安全建議 |
|---|---|---|
kubeconfigPath |
Custom path to kubeconfig file | 確保檔案許可權為 600,僅當前使用者可讀 |
defaultContext |
Default Kubernetes context to use | 建議使用非生產環境的 context |
hosts |
SSH target hosts for sys-monitor tool | 僅配置受信任的主機,建議使用 SSH 金鑰認證 |
這個 Kubernetes 操作技能質量不錯,文件非常齊全,有安裝指南、快速入門和故障排查,使用起來應該很方便。安全性方面有較多提醒,讓人覺得比較靠譜。美中不足的是安裝說明裡建議用最高許可權,這個不太安全,建議參考文件裡的安全建議使用受限許可權。總體適合需要管理 Kubernetes 叢集的使用者使用。