- 概述
- 要求
- 预安装
- 安装
- 安装后
- 迁移和升级
- 监控和警示
- 集群管理
- 特定于产品的配置
- 故障排除
- 由于无法连接到 Azure Government,备份设置不起作用
- 启用自定义节点污点时,UiPath 命名空间中的 Pod 卡住
- 无法使用代理设置启动 Automation Hub 和 Apps
- 由于“验证失败”错误,Velero 备份失败
- 外部密码故障排除
- 时间即服务故障排除
- 无法在启用 TLS 证书验证的情况下启动 AI Center 和 Document Understanding Pod
- TLS 证书验证错误
- Fluentd 不会在 IPv6 环境中导出日志
- Studio 桌面版无法加载 Integration Service 连接器和活动
- 手动 ArgoCD 网络策略缓解措施 (MHSA-47m3-95c7-g2g8)
- 为 uipathctl 创建的工作负载配置资源请求和限制
应用其他配置
创建优先级类,标记命名空间,并在 EKS/AKS 上为 Automation Suite 配置 CoreDNS。
仅当您无法为 Automation Suite 安装程序提供管理员权限时,才应用本节中的配置。如果您可以为安装程序提供所需的权限,则无需应用本节中的配置。
创建优先级类别
要为 UiPath™ 应用程序创建优先级,请执行以下步骤:
-
将以下配置保存为 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" -
运行以下命令,并将
<file_name.yaml>占位符替换为 YAML 文件的实际名称:kubectl apply -f <file_name.yaml>kubectl apply -f <file_name.yaml>
优先级类别名称uipath-high-priority为必填项,且无法更改。
要禁用优先级类创建,请在input.json文件中将ignore_priority_class设置为true 。
标记命名空间
要创建命名空间标签,请运行以下命令:
kubectl label namespace <uipath> uipath-injection=enabled
kubectl label namespace <uipath> istio-injection=enabled
kubectl label namespace <uipath> uipath-injection=enabled
kubectl label namespace <uipath> istio-injection=enabled
配置 CoreDNS
如果您使用的是代理设置,则需要更改特定的 CoreDNS 配置,以确保成功安装和运行 Automation Hub 和 Apps。
我们建议将此添加到 CoreDNS 设置中,因为它允许任何使用集群 FQDN 的服务到服务请求绕过负载均衡器,并通过 Istio 进行内部路由。
请按照以下步骤在安装过程中配置集群:
-
从正在运行的集群捕获现有的
coredns配置映射:kubectl get configmap -n kube-system coredns -o yaml > coredns-config.yamlkubectl get configmap -n kube-system coredns -o yaml > coredns-config.yaml -
编辑
coredns-config.yaml文件以将fqdn重写附加到配置中。-
将配置映射重命名为
coredns-custom。 -
将以下代码块添加到
coredns-config.yaml文件。确保代码块位于kubernetes cluster.local in-addr.arpa ip6.arp行之前。rewrite stop { name exact <cluster-fqdn> istio-ingressgateway.istio-system.svc.cluster.local }rewrite stop { name exact <cluster-fqdn> istio-ingressgateway.istio-system.svc.cluster.local } -
将
<cluster-fqdn>替换为实际值。
完成这些步骤后,您的文件应类似于以下示例:
apiVersion: v1 data: Corefile: | .:53 { errors log health rewrite stop { name exact mycluster.autosuite.com istio-ingressgateway.istio-system.svc.cluster.local } kubernetes cluster.local in-addr.arpa ip6.arpa { pods insecure fallthrough in-addr.arpa ip6.arpa } prometheus :9153 forward . /etc/resolv.conf cache 30 loop reload loadbalance } kind: ConfigMap metadata: name: coredns-custom namespace: kube-systemapiVersion: v1 data: Corefile: | .:53 { errors log health rewrite stop { name exact mycluster.autosuite.com istio-ingressgateway.istio-system.svc.cluster.local } kubernetes cluster.local in-addr.arpa ip6.arpa { pods insecure fallthrough in-addr.arpa ip6.arpa } prometheus :9153 forward . /etc/resolv.conf cache 30 loop reload loadbalance } kind: ConfigMap metadata: name: coredns-custom namespace: kube-system -
-
创建
coredns-custom配置映射:kubectl apply -f coredns-config.yamlkubectl apply -f coredns-config.yaml -
将
coredns中的卷引用替换为kube-system命名空间coredns部署中的coredns-custom:volumes: - emptyDir: {} name: tmp - configMap: defaultMode: 420 items: - key: Corefile path: Corefile name: coredns-custom name: config-volumevolumes: - emptyDir: {} name: tmp - configMap: defaultMode: 420 items: - key: Corefile path: Corefile name: coredns-custom name: config-volume -
重新启动
coredns部署,并确保corednsPod 正常运行:kubectl rollout restart deployment -n kube-system corednskubectl rollout restart deployment -n kube-system coredns
完成这些步骤后,Automation Hub 和 Apps 应在启用代理的环境中成功启动。