automation-suite
2023.10
false
EKS/AKS 上的 Automation Suite 安装指南
- 概述
- 要求
- 安装
- 安装后
- 迁移和升级
- 监控和警示
- 集群管理
- 特定于产品的配置
- 故障排除
- 启用 Velero 时安装失败
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。
启用 Velero 时安装失败
修复由在 EKS/AKS 部署上启用 Velero 导致的 Automation Suite 安装失败。
描述
启用 Velero 时,Automation Suite 安装可能会失败。
解决方案
要解决此问题,请执行以下步骤:
- 确保 Helm 3.14 在用于安装 Automation Suite 的 Jumpbox 或笔记本电脑上运行。
- 提取失败的 Helm 图表的配置值,在本例中为 Velero:
helm -n velero get values velero > customvals.yamlhelm -n velero get values velero > customvals.yaml - 在
.image.imagePullSecrets路径下的customvals.yaml文件中添加缺少的映像拉取密码:image: imagePullSecrets: - uipathpullsecretimage: imagePullSecrets: - uipathpullsecret - 如果已安装 Velero,请将其卸载:
helm uninstall -n velero velerohelm uninstall -n velero velero - 创建名为
velerosecrets.txt的新文件。使用您的特定信息填充其中,如以下示例所示:AZURE_CLIENT_SECRET=<secretforserviceprincipal> AZURE_CLIENT_ID=<clientidforserviceprincipal> AZURE_TENANT_ID=<tenantidforserviceprincipal> AZURE_SUBSCRIPTION_ID=<subscriptionidforserviceprincipal> AZURE_CLOUD_NAME=AzurePublicCloud AZURE_RESOURCE_GROUP=<infraresourcegroupoftheakscluster>AZURE_CLIENT_SECRET=<secretforserviceprincipal> AZURE_CLIENT_ID=<clientidforserviceprincipal> AZURE_TENANT_ID=<tenantidforserviceprincipal> AZURE_SUBSCRIPTION_ID=<subscriptionidforserviceprincipal> AZURE_CLOUD_NAME=AzurePublicCloud AZURE_RESOURCE_GROUP=<infraresourcegroupoftheakscluster> - 对
velerosecrets.txt文件进行编码:export b64velerodata=$(cat velerosecrets.txt | base64)export b64velerodata=$(cat velerosecrets.txt | base64) - 从
velero命名空间中删除velero-azure密码。包括以下内容:apiVersion: v1 kind: Secret metadata: name: velero-azure namespace: velero data: cloud: <put the $b64velerodata value here>apiVersion: v1 kind: Secret metadata: name: velero-azure namespace: velero data: cloud: <put the $b64velerodata value here> - 重新安装 Velero:
helm install velero -n velero <path to velero - 3.1.6 helm chart tgz> -f customvals.yamlhelm install velero -n velero <path to velero - 3.1.6 helm chart tgz> -f customvals.yaml