restore_from_backup
Restore Kubernetes resources from a backup file, with optional target namespace or cluster selection for flexible recovery.
Instructions
从备份恢复资源
Args: backup_file: 备份文件路径 target_namespace: 目标命名空间(可选) target_cluster: 目标集群(可选) kubeconfig_path: kubeconfig 文件路径,不指定则使用默认集群
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"backup_file": "<backup_file>"
},
"name": "restore_from_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup_file | Yes | ||
| target_cluster | No | ||
| kubeconfig_path | No | ||
| target_namespace | No |