batch_delete_resources
Batch delete multiple Kubernetes resources in a single request, with options for namespace, graceful deletion period, and cluster selection via kubeconfig or cluster name.
Instructions
批量删除资源
Args: resources: JSON格式的资源列表 namespace: 命名空间 grace_period_seconds: 优雅删除等待时间 kubeconfig_path: kubeconfig 文件路径,不指定则使用 cluster_name 或默认集群 cluster_name: 集群配置名称(clusters.json 中的 name),kubeconfig_path 未指定时使用
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | default | |
| resources | Yes | ||
| cluster_name | No | ||
| kubeconfig_path | No | ||
| grace_period_seconds | No |