list_namespaces
List all Kubernetes namespaces and their status for a specified cluster (local or cloud), enabling quick inventory and health checks.
Instructions
列出集群中所有 namespace 及其状态。
Args:
cluster: 目标集群,可选 "local"(本地 k3s)或 "cloud"(阿里云 k3s),默认 "local"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster | No | local |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |