get_cluster_info
Fetch Kubernetes cluster details using a kubeconfig file or cluster name, giving you essential information for cluster management.
Instructions
获取Kubernetes集群信息
Args: kubeconfig_path: kubeconfig 文件路径,不指定则使用 cluster_name 或默认集群 cluster_name: 集群配置名称(clusters.json 中的 name),kubeconfig_path 未指定时使用
Returns: 集群信息
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_name | No | ||
| kubeconfig_path | No |