每当我尝试在kubernetes(AKS)中的velero部署上运行helm upgrade时,它会尝试删除velero的CRD,并且在删除一些CRD后失败。
helm upgrade 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=us-dev \
--set configuration.backupStorageLocation.config.storageAccount=store1 \
--set snapshotsEnabled=true \
--set deployRestic=true \
--set configuration.volumeSnapshotLocation.name=azure \
--set configuration.volumeSnapshotLocation.config.resourceGroup=us-dev \
--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我甚至尝试使用以下选项,但仍然出现相同的错误
--reuse-values我是不是做错了?
发布于 2020-12-14 03:58:34
在回答您的问题之前,我使用Install Velero with HELM in GCP进行了安装和测试。所以你可以从这篇文章中找到我的Values.yaml内容。
helm install vmware-tanzu/velero --name velero --namespace velero -f Values.yaml --version 2.8.7 --set imageTag=1.2.0已成功执行安装
在回答您的问题时,我能够使用与您相同的命令升级velero
helm upgrade velero vmware-tanzu/velero --namespace velero --reuse-values \
--set image.pullPolicy=IfNotPresent不幸的是,我还没有检查Azure。请添加更多详细信息/日志,指定您无法删除的确切CRD。
https://stackoverflow.com/questions/65239657
复制相似问题