UiPath Documentation
automation-suite
2.2510
true
OpenShift 上的 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

应用其他配置

当管理员权限不可用时,请在 Automation Suite on OpenShift 中创建优先级类和命名空间标签。

备注:

仅当您无法为 Automation Suite 安装程序提供管理员权限时,才应用本节中的配置。如果您可以为安装程序提供所需的权限,则无需应用本节中的配置。

创建优先级类别​

要为 UiPath™ 应用程序创建优先级,请执行以下步骤:

  1. 将以下配置保存为 YAML 文件:
    ---
    apiVersion: scheduling.k8s.io/v1
    kind: PriorityClass
    metadata:
      name: uipath-high-priority
    value: 1000000
    preemptionPolicy: PreemptLowerPriority
    globalDefault: false
    description: "Priority class for uipath applications"
    ---
    apiVersion: scheduling.k8s.io/v1
    kind: PriorityClass
    metadata:
      name: uipath-high-priority
    value: 1000000
    preemptionPolicy: PreemptLowerPriority
    globalDefault: false
    description: "Priority class for uipath applications"
    
  2. 运行以下命令,并将<file_name.yaml>占位符替换为 YAML 文件的实际名称:
    oc apply -f <file_name.yaml>
    oc apply -f <file_name.yaml>
    
重要提示:

优先级类别名称uipath-high-priority为必填项,且无法更改。

跳过优先级​

如果您不想创建优先级,请在 ignore_priority_class 文件中将 true 设置为 input.json。然后,Automation Suite 会省略所有工作负载中的priorityClassName ,因此集群中不需要存在PriorityClass ,并且您可以跳过“创建优先级” 。

如果要在没有集群角色的情况下安装,则必须将ignore_priority_class设置为true ,因为在该模式下无法创建集群范围的PriorityClass 。有关详细信息,请参阅在不带集群角色的情况下授予安装权限。

标记命名空间​

要创建命名空间标签,请运行以下命令:

oc label namespace <uipath> uipath-injection=enabled
oc label namespace <uipath> istio-injection=enabled
oc label namespace <uipath> uipath-injection=enabled
oc label namespace <uipath> istio-injection=enabled
  • 创建优先级类别​
  • 跳过优先级​
  • 标记命名空间​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新