azure - Velero 在部署到 AKS 时无法使用 Azure 存储帐户
问题描述
我正在使用 CLI 部署 Velero,以使用以下命令部署到 Azure AKS 群集:
helm install velero vmware-tanzu/velero --namespace velero --set-file credentials.secretContents.cloud=./credentials-velero --set configuration.provider=azure --set configuration.backupStorageLocation.name=azure --set configuration.backupStorageLocation.bucket='velero' --set configuration.backupStorageLocation.config.resourceGroup=aks-testing-prod-003 --set configuration.backupStorageLocation.config.storageAccount=aks-testing-prod-003 --set snapshotsEnabled=true --set deployRestic=true --set configuration.volumeSnapshotLocation.name=azure --set image.repository=velero/velero --set image.pullPolicy=Always --set initContainers[0].name=velero-plugin-for-microsoft-azure --set initContainers[0].image=velero/velero-plugin-for-microsoft-azure:master --set initContainers[0].volumeMounts[0].mountPath=/target --set initContainers[0].volumeMounts[0].name=plugins
豆荚出现得很好,velero和restic。但是当我尝试创建备份时,它成功提交,但随后失败并出现此错误。任何帮助,将不胜感激。
Name: mybackup
Namespace: velero
Labels: velero.io/storage-location=azure
Annotations: velero.io/source-cluster-k8s-gitversion=v1.19.11
velero.io/source-cluster-k8s-major-version=1
velero.io/source-cluster-k8s-minor-version=19
Phase: Failed (run `velero backup logs mybackup` for more information)
Errors: 0
Warnings: 0
Namespaces:
Included: *
Excluded: <none>
Resources:
Included: *
Excluded: <none>
Cluster-scoped: auto
Label selector: <none>
Storage Location: azure
Velero-Native Snapshot PVs: auto
TTL: 720h0m0s
Hooks: <none>
Backup Format Version: 1.1.0
Started: 2021-06-10 16:32:58 +0000 UTC
Completed: <n/a>
Expiration: 2021-07-10 16:32:58 +0000 UTC
Velero-Native Snapshots: <none included>
解决方案
推荐阅读
- node.js - NodeJS:回调不是函数
- java - 如何创建像 Instagram 故事一样的滑动动画?
- python - 如何根据数据框列的某些特定值删除行?
- javascript - 在本机反应中全局加载文件
- php - laravel api 结果数据类型在主机更改时更改
- curl - MINGW Windows - curl 7.59.0 缺少 sftp 库
- vbscript - 如何在 Vbscript 中将时间码字符串更改为数字?
- selenium - 在无头端点上运行 Ranorex
- linux - 在用户交互之前启动的 systemd 服务,可能吗?
- google-apps-script - 自动文本颜色取决于背景颜色 [google sheet]