backup_resource
Backs up a specific Kubernetes resource such as deployment, service, or configmap using its type, name, and namespace, allowing configuration preservation and recovery.
Instructions
备份特定资源
Args: resource_type: 资源类型(deployment, service, configmap等) resource_name: 资源名称 namespace: 命名空间 cluster_name: 集群名称(可选) kubeconfig_path: kubeconfig 文件路径,不指定则使用 cluster_name 或默认集群
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| cluster_name | No | ||
| resource_name | Yes | ||
| resource_type | Yes | ||
| kubeconfig_path | No |