LJH-snow/dsh-tool-kubernetes0

@libai168/dsh-tool-kubernetes

DeepSeek Harness 的 Kubernetes 工具包:支持集群、命名空间、工作负载、Pod、日志及配置清单操作

AI 分析

为 DSH 提供 K8s 集群运维工具。适合需要让 Agent 辅助查询集群状态、查看 Pod 日志或管理配置清单的运维人员,支持通过 kubeconfig 配置权限。

套件
@libai168/dsh-tool-kubernetes
版本
0.1.0
授權
MIT
最近更新
2026年8月27日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Configuration

Load the plugin in a dsh composition config (cordis.yml):

- name: 'dsh-tool-kubernetes'
  config:
    # Optional kubeconfig path. Defaults to $KUBECONFIG or ~/.kube/config.
    # kubeconfig: '/Users/you/.kube/config'
    # Optional kubeconfig context. Defaults to current-context.
    # context: 'prod'
    # Optional default namespace. Context namespace is used when omitted.
    namespace: 'team'
    # Write tools are off unless this is true.
    allowWrite: true
    # Optional namespace allowlist. Empty means every namespace is allowed when allowWrite is true.
    writeNamespaces:
      - team

Full example: examples/cordis.yml.