- 概述
- 要求
- 安装
- 安装后
- 迁移和升级
- 监控和警示
- 集群管理
- 特定于产品的配置
- 故障排除
安全性与合规性
网守和 OPA 策略
Automation Suite is pre-configured with Gatekeeper and OPA policies. If you bring your own Gatekeeper component and OPA policies, you can skip these components from the Automation Suite installation. For details, see Automation Suite stack. In this case, review the OPA policies and the exceptions needed for installing and running Automation Suite.
OPA 策略
| Policy | 强制执行 Actions | 要排除的命名空间/映像 |
|---|---|---|
|
将升级限制为根权限的控件。 对应于 Pod 安全策略中的 |
|
|
|
配置 AppArmo 配置文件的允许列表,以供容器使用。 这对应于应用于 Pod 安全策略的特定注释。 |
|
|
|
控制容器上的 Linux 功能。 对应于 Pod 安全策略中的 |
|
|
|
控制 FlexVolume 驱动程序的允许列表。 对应于 Pod 安全策略中的 |
|
不适用 |
|
|
| |
|
控制分配拥有 Pod 卷的 FS 组。 对应于 Pod 安全策略中的 |
|
|
|
控制主机文件系统的使用情况。 对应于 Pod 安全策略中的 |
|
|
|
禁止 Pod 容器共享主机 PID 和 IPC 命名空间。 对应于 Pod 安全策略中的 |
|
|
|
控制 Pod 容器对主机网络命名空间的使用。 |
|
|
|
控制任何容器启用特权模式的能力。 对应于 Pod 安全策略中的 |
|
|
|
控制容器允许的 |
|
不适用 |
|
要求 Pod 容器使用只读根文件系统。 |
|
|
|
控制容器使用的 seccomp 配置文件。 对应于 Pod 安全策略上的 |
|
|
|
定义 Pod 容器的seLinuxOptions 配置允许列表。 |
|
不适用 |
|
控制容器和某些卷的用户和组 ID。 |
|
|
|
将可安装的卷类型限制为用户指定的类型。 |
|
|
- 仅当您安装 Process Mining 和 Task Mining 时,才需要
dapr-system命名空间。 - 仅当您安装 Process Mining 时,才需要
airflow命名空间。 prereq**是运行先决条件或运行状况检查时创建的临时命名空间。命名空间将在完成后自删除。
其他 OPA 策略
| Policy | 强制执行 Actions | 要排除的命名空间/映像 |
|---|---|---|
|
控制任何 Pod 启用 |
|
|
|
要求容器映像以指定列表中的字符串开头。 |
|
|
|
|
|
不适用 |
|
禁止所有类型为负载均衡器的服务。 |
|
|
|
禁止所有节点端口类型的服务。 |
|
|
|
用户不得创建具有空白或通配符 (*) 主机名的入口,因为这将使他们能够拦截集群中其他服务的流量,即使他们无权访问这些服务。 |
|
不适用 |
|
要求容器设置内存和 CPU 限制。 将限制限制在指定的最大值范围内。 |
|
|
|
要求容器设置内存和 CPU 请求。 将请求限制在指定的最大值范围内。 |
|
|
|
设置容器资源限制与请求的最大比率。 |
|
|
|
要求容器具有已定义的资源集。 |
|
|
|
不允许将集群角色和角色资源与 |
|
不适用 |
|
要求容器映像具有与指定列表中不同的映像标签。 |
|
不适用 |
|
要求容器设置临时存储限制,并将限制限制在指定的最大值范围内。 |
|
|
|
|
|
不适用 |
|
仅要求入口资源为 HTTPS。 入口资源必须包含 |
|
|
|
要求容器映像包含摘要。 |
|
|
|
阻止更新通过 Pod 进行抽象的资源上的服务帐户。 在审核模式下,此策略将被忽略。 |
|
不适用 |
|
|
|
|
|
要求 Pod 具有就绪探测器和/或活动探测器。 |
|
|
|
使用时需要指定存储类。 |
|
不适用 |
|
要求所有入口规则主机唯一。 |
|
不适用 |
|
要求服务在命名空间中具有唯一的选取器。 如果选取器具有相同的键和值,则视为相同选取器。 只要选取器之间至少存在一个不同的键/值对,就可以共享一个键/值对。 |
|
不适用 |
- 仅当您安装 Process Mining 和 Task Mining 时,才需要
dapr-system命名空间。 - 仅当您安装 Process Mining 时,才需要
airflow命名空间。 prereq**是运行先决条件或运行状况检查时创建的临时命名空间。命名空间将在完成后自删除。
网络策略
Automation Suite is pre-configured with standard Kubernetes Network Policies to follow the principle of least privilege network access. You can choose to skip installing UiPath-provided network policies by adding network-policies under the exclude components list in input.json. To learn more about optional components, see the Automation Suite stack.
Automation Suite 强制执行源自 uipath 命名空间、至该命名空间以及在其中的网络。如果您使用自己的网络策略或具有自定义 CNI(例如 Cilium Enterprise 或 CalicoTigera Enterprise),请确保更新策略以镜像 network-policies Helm 图表。
您可以通过运行以下命令来查找 Automation Suite network-policies Helm 图表。
- 您必须在以下命令中将
<automation-suite-version>替换为当前的 Automation Suite 版本。 - 您必须解压缩文件才能提取 Helm 图表。
helm pull oci://registry.uipath.com/helm/network-policies --version <automation-suite-version>
helm pull oci://registry.uipath.com/helm/network-policies --version <automation-suite-version>
集群权限要求
管理节点上的uipathctl需要集群管理员访问权限才能在专用集群上安装和管理 Automation Suite。 Automation Suite 中的系统级组件(例如 Istio(路由/服务网格)和 ArgoCD(部署和应用程序生命周期管理))以及创建与 Automation Suite 相关的命名空间需要此级别的访问权限。