batch_list_resources
List multiple Kubernetes resource types in a single request, with namespace and cluster configuration, for broad cluster inspection.
Instructions
批量查看资源
Args: resource_types: 资源类型,支持:1) "all" 列出集群所有可用 API 资源类型;2) JSON 数组如 ["pods","deployments"];3) 单个类型如 "pods"。支持任意集群内可发现的资源(含 CRD) namespace: 命名空间 kubeconfig_path: kubeconfig 文件路径,不指定则使用 cluster_name 或默认集群 cluster_name: 集群配置名称(clusters.json 中的 name),kubeconfig_path 未指定时使用
Returns: 批量查看结果
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | default | |
| cluster_name | No | ||
| resource_types | Yes | ||
| kubeconfig_path | No |