automation-suite
2024.10
true
- 概述
- 要求
- 预安装
- 安装
- 安装后
- 迁移和升级
- 监控和警示
- 集群管理
- 特定于产品的配置
- 故障排除
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。

EKS/AKS 上的 Automation Suite 安装指南
上次更新日期 2025年9月2日
注意:仅当您无法为 Automation Suite 安装程序提供管理员权限时,才应用本节中的配置。 如果您可以为安装程序提供所需的权限,则无需应用本节中的配置。
要创建命名空间标签,请运行以下命令:
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 配置,以确保成功安装和运行 Automation Hub 和 Apps。
我们建议将此添加到 CoreDNS 设置中,因为它允许任何使用集群 FQDN 的服务到服务请求绕过负载均衡器,并通过 Istio 进行内部路由。
请按照以下步骤在安装过程中配置集群:
-
从正在运行的集群捕获现有的
coredns
配置映射:kubectl get configmap -n kube-system coredns -o yaml > coredns-config.yaml
kubectl 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-system
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-system -
-
创建
coredns-custom
配置映射:kubectl apply -f coredns-config.yaml
kubectl 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-volume
volumes: - emptyDir: {} name: tmp - configMap: defaultMode: 420 items: - key: Corefile path: Corefile name: coredns-custom name: config-volume -
重新启动
coredns
部署,并确保coredns
Pod 正常运行:kubectl rollout restart deployment -n kube-system coredns
kubectl rollout restart deployment -n kube-system coredns
完成这些步骤后,Automation Hub 和 Apps 应在启用代理的环境中成功启动。