UiPath Documentation
automation-suite
2.2510
true
EKS/AKS 上的 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

由于“验证失败”错误,Velero 备份失败

EKS/AKS 上 Automation Suite 中的 Velero 备份验证失败错误的解决方案。

尝试在 EKS/AKS 上的 Automation Suite 中运行计划的备份时,Velero 可能会返回以下错误:

Phase: FailedValidation
Validation errors: an existing backup storage location was not specified at backup creation time and the server default default does not exist.
Error: BackupStorageLocation.velero.io "default" not found
Phase: FailedValidation
Validation errors: an existing backup storage location was not specified at backup creation time and the server default default does not exist.
Error: BackupStorageLocation.velero.io "default" not found

发生这种情况是因为default-bs1 BackupStorageLocation未在 Velero 配置中标记为默认值。

要解决此问题,请执行以下步骤:

  1. 验证为 Velero 配置的备份存储位置:

    kubectl get backupstoragelocations -n velero
    kubectl get backupstoragelocations -n velero
    

    确认“默认值”列是否为空。

  2. 编辑备份存储位置以设置默认值:

    kubectl edit backupstoragelocation default-bs1 -n velero
    kubectl edit backupstoragelocation default-bs1 -n velero
    
  3. 在spec部分下,添加以下行:

    default: true
    default: true
    
  4. 保存更改。

  5. 重新启动 Velero Pod 以应用配置:

    kubectl delete pod -n velero --all
    kubectl delete pod -n velero --all
    

    或者,执行滚动重新启动:

    kubectl -n velero rollout restart deploy/velero
    kubectl -n velero rollout restart deploy/velero
    
  6. 验证修复:

    kubectl get backupstoragelocations -n velero
    kubectl get backupstoragelocations -n velero
    

    确认PHASE为“可用”并且“默认值”列显示为Yes 。

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新