已从git安装velero-client v1.1.0。
已使用以下命令安装velero服务
velero install --provider aws --bucket velero --secret-file credentials-velero \
--use-volume-snapshots=false --use-restic --backup-location-config \
region=minio,s3ForcePathStyle="true",s3Url=http://minio.velero.svc:9000,publicUrl=http://<ip:node-port>我得到了以下错误:
An error occurred: some backup storage locations are invalid: backup store for location "default" is invalid: rpc error: code = Unknown desc = AccessDenied: Access Denied我想把它部署在k8s上。
发布于 2019-11-28 19:17:33
此问题是因为我的aws访问密钥和密钥无效。后来,我给出了有效的证书。所以,现在它工作得很好。
发布于 2019-11-22 22:23:25
您使用的命令需要填充来自您的环境的实际信息,其中:
--provider aws指示Velero利用本地运行的S3存储,在my case--secret-file中是我们的Minio credentials--use-restic标志,确保Velero知道为persistentvolume部署restic backups--s3Url值是只能从kubernetes群集中解析的Minio服务的地址* --publicUrl值是允许从群集外部访问Minio UI的LoadBalancer服务的IP地址:示例:
velero install --provider aws \
--bucket velero \
--secret-file credentials-velero \
--use-volume-snapshots=false \
--use-restic \
--backup-location-config region=minio,s3ForcePathStyle="true",s3Url=http://minio.velero.svc:9000,publicUrl=http://10.96.59.116:9000此示例在this blog post中提供了更多详细信息。
https://stackoverflow.com/questions/58991462
复制相似问题