UiPath Documentation
automation-suite
2023.10
false
EKS/AKS 上的 Automation Suite 安装指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

启用 Velero 时安装失败

修复由在 EKS/AKS 部署上启用 Velero 导致的 Automation Suite 安装失败。

描述​

启用 Velero 时,Automation Suite 安装可能会失败。

解决方案​

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

  1. 确保 Helm 3.14 在用于安装 Automation Suite 的 Jumpbox 或笔记本电脑上运行。
  2. 提取失败的 Helm 图表的配置值,在本例中为 Velero:
    helm -n velero get values velero > customvals.yaml
    helm -n velero get values velero > customvals.yaml
    
  3. 在 .image.imagePullSecrets 路径下的 customvals.yaml 文件中添加缺少的映像拉取密码:
    image:
      imagePullSecrets:
      - uipathpullsecret
    image:
      imagePullSecrets:
      - uipathpullsecret
    
  4. 如果已安装 Velero,请将其卸载:
    helm uninstall -n velero velero
    helm uninstall -n velero velero
    
  5. 创建名为 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>
    
  6. 对 velerosecrets.txt 文件进行编码:
    export b64velerodata=$(cat velerosecrets.txt | base64)
    export b64velerodata=$(cat velerosecrets.txt | base64)
    
  7. 从 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>
    
  8. 重新安装 Velero:
    helm install velero -n velero <path to velero - 3.1.6 helm chart tgz> -f customvals.yaml
    helm install velero -n velero <path to velero - 3.1.6 helm chart tgz> -f customvals.yaml
    
  • 描述​
  • 解决方案​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新