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.