Automation Suite
2023.10
False
横幅背景图像
Linux 版 Automation Suite 安装指南
上次更新日期 2024年4月19日

Step 15: Configuring the temporary Docker registry for offline installations

备注:

仅对于使用集群内注册表的离线安装,才需要执行此步骤。如果您执行使用符合 OCI 的外部注册表的离线安装或在线安装,则可以跳过此步骤。

您必须仅在一个服务器节点上执行此步骤。您必须确保节点具有 512 GiB 的额外容量,才能用作注册表的后端。通常建议将其放置在 /uipath 装载点上。

仅在安装或升级期间才需要临时 Docker 注册表。安装或升级成功后,您就不再需要使用临时注册表,并应将其卸载。

设置临时注册表的先决条件

要设置临时注册表,您需要以下内容:

安装临时注册表

要在其中一个节点上安装临时 Docker 注册表,请运行以下命令:

./configureUiPathAS.sh registry install-temp-registry -i cluster_config.json./configureUiPathAS.sh registry install-temp-registry -i cluster_config.json

标记

描述

-i|--input

可选。接受 cluster_config.json 的路径。仅在更改默认注册表端口和文件路径时才需要。
默认情况下,临时注册表安装在计算机的 30070 端口上,并使用 /uipath/data/registry 文件路径。您必须在负载均衡器和安装临时 Docker 注册表的节点上打开端口 30070
备注:

负载均衡器后端池必须专门以托管临时 Docker 注册表的节点为目标。

如果要更改默认的临时注册表端口和文件路径,则必须更新 cluster_config.json 文件,如以下示例所示:
{
  "infra": {
    "tmp_docker_registry": {
      "node_port": "<new port number>",
      "file_path": "/uipath/data/registry"
    }
  }
}{
  "infra": {
    "tmp_docker_registry": {
      "node_port": "<new port number>",
      "file_path": "/uipath/data/registry"
    }
  }
}

结合使用临时注册表

安装临时注册表后,请执行以下步骤:

  1. 通过运行以下命令,将临时注册表与容器映像和 Helm 图表结合使用:

    ./configureUiPathAS.sh registry hydrate-temp-registry --offline-bundle /uipath/tmp/as-fs.tar.gz -i cluster_config.json./configureUiPathAS.sh registry hydrate-temp-registry --offline-bundle /uipath/tmp/as-fs.tar.gz -i cluster_config.json

标记

描述

--offline-bundle

包含 as-fs.tar.gz 在服务器节点上的位置的文件路径。

-i|--input

可选。cluster_config.json 文件的接收路径。仅在更改默认的 Docker 注册表端口和文件路径时才需要。

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.