DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

173787247 /

173787247/dsh-wsl-k8s

Verified

Read-only kubectl get / describe / logs for dsh on WSL.

★ 1 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: master@52bf75a3

dsh-wsl-k8s

语言: 中文(本页) · English

只读 kubectl 工具:k8s_get / k8s_describe / k8s_logs。

不能 apply / delete / exec / port-forward。适合排障看状态,不改集群。

最短上手

# kubectl 已配置好 kubeconfig
dsh plugin --profile web add github:173787247/dsh-wsl-k8s

工具

工具 作用
k8s_status kubectl 是否可用、当前 context
k8s_get kubectl get(输出有长度上限)
k8s_describe kubectl describe
k8s_logs Pod 日志(截断)

配置

config:
  enabled: true
  timeoutMs: 30000
  maxOutputChars: 40000
  # 非空时只允许这些 context;空 = 不限制(仍只读)
  allowedContexts: []
  # 例: allowedContexts: [dev, staging]

生产集群建议显式写 allowedContexts,并保证 kubeconfig 本身权限最小。

兼容性

字段 值
插件 dsh-wsl-k8s 0.1.1
最低 dsh ≥ 0.1.2(Web UI 一次性 ?token=,Windows 中继 :3081)
最新验证 以 dsh-wsl-kit 兼容性 为准(当前 0.2.2-rc.1)— 套件唯一真源
套件档位 可选(默认不在 install.sh / KIT_SET=daily)

License

MIT

—/ 5

No ratings yet

Verified DSH bundle

Commit 52bf75a3be91

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout