automation-suite
2.2510
true
EKS/AKS 上的 Automation Suite 安装指南
- 概述
- 要求
- 预安装
- 安装
- 安装后
- 迁移和升级
- 监控和警示
- 集群管理
- 特定于产品的配置
- 故障排除
- 如何使用证书
- 如何卸载 Automation Suite
- 如何卸载 Dapr
- 如何卸载证书管理器
- 如何在已启用 FIPS 的集群中部署 Insights
- 如何对 PostgreSQL 连接字符串密码进行 URL 编码
- 由于无法连接到 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 创建的工作负载配置资源请求和限制
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
如何卸载 Automation Suite
从 EKS/AKS 集群中卸载 Automation Suite。
本节说明如何使用提供的卸载脚本从 EKS/AKS 环境中卸载 Automation Suite。
您将学习如何准备系统、执行脚本、排除问题以及扩展功能以满足自定义要求。
了解脚本和要求
本节让您深入了解卸载脚本,并概述有效使用卸载脚本所需的先决条件。
卸载脚本支持有选择地删除 Automation Suite 组件、空运行模拟、详情输出以及通过命令行标志或 JSON 配置文件排除特定组件的功能。
先决条件
这一小节列出了在环境中必须安装才能成功运行卸载脚本的工具:
- EKS/AKS:
kubectlhelm
- 可选:
jq- 用于 JSON 解析
下载和准备脚本
要获取卸载脚本并准备执行,请执行以下步骤:
-
下载
uninstall.sh脚本。 -
通过运行以下命令使脚本可执行:
chmod +x uninstall.shchmod +x uninstall.sh
运行脚本并使用选项
本节介绍如何运行卸载脚本,包括命令语法、支持的环境和可用标志。
您可以使用以下命令运行脚本:
./uninstall.sh [DISTRIBUTION] [OPTIONS]
./uninstall.sh [DISTRIBUTION] [OPTIONS]
您可以根据环境使用以下发行选项:
k8s:使用标准 Kubernetes 命令(默认)。openshift:使用 OpenShift 命令和 API。
下表列出了可用于为您的特定环境自定义卸载行为的所有受支持的标志和参数。
| 选项 | 描述 |
|---|---|
-h, --help | 显示帮助信息。 |
-d, --dry-run | 预览更改而不删除任何内容。 |
-v, --verbose | 启用详细日志记录。 |
--excluded COMPONENTS | 要跳过的组件的逗号分隔列表。 |
--clusterconfig FILE | 排除项的 JSON 配置文件的路径。 |
--istioNamespace NAMESPACE | 覆盖默认的 Istio 命名空间。 |
--uipathNamespace NAMESPACE | 覆盖默认的 UiPath 命名空间。 |
--argocdNamespace NAMESPACE | 覆盖默认的 ArgoCD 命名空间。 |
使用基本示例
本节提供简单的示例命令,以帮助您快速开始使用带有最少选项的卸载脚本。
# Exclude istio from deletion in k8s
./uninstall.sh k8s --excluded istio
# Exclude istio and argocd in OpenShift
./uninstall.sh openshift --excluded istio,argocd
# Exclude istio from deletion in k8s
./uninstall.sh k8s --excluded istio
# Exclude istio and argocd in OpenShift
./uninstall.sh openshift --excluded istio,argocd
使用高级组合
本节介绍高级示例,这些示例结合了多个选项,可实现更灵活、更强大的卸载方案。
# Dry run to preview changes
./uninstall.sh openshift --dry-run
# Use a JSON config file
./uninstall.sh k8s --clusterconfig input.json
# Custom namespaces
./uninstall.sh openshift --uipathNamespace uipath-prod --istioNamespace custom-istio
# Combined options with verbosity
./uninstall.sh k8s --excluded gatekeeper,falco --clusterconfig input.json --verbose
# Dry run to preview changes
./uninstall.sh openshift --dry-run
# Use a JSON config file
./uninstall.sh k8s --clusterconfig input.json
# Custom namespaces
./uninstall.sh openshift --uipathNamespace uipath-prod --istioNamespace custom-istio
# Combined options with verbosity
./uninstall.sh k8s --excluded gatekeeper,falco --clusterconfig input.json --verbose
配置组件和排除项
本节概述脚本管理的组件、如何排除它们,以及要考虑哪些依赖项。
支持的组件
本节列出了卸载脚本能够管理和删除的 Automation Suite 组件:
istio- 服务网格组件istio_configure- Istio 配置argocd- ArgoCD 部署uipath- 核心 UiPath 组件cert_manager- 证书管理network_policies- 网络策略gatekeeper- 强制执行 Gatekeeperfalco- 强制执行 Gatekeeper
使用配置文件
本节演示如何使用 JSON 文件配置组件排除项。
您可以通过 JSON 排除组件,如下所示:
{
"exclude_components": [
"istio",
"argocd",
"gatekeeper"
]
}
{
"exclude_components": [
"istio",
"argocd",
"gatekeeper"
]
}
了解组件依赖项
本节说明组件之间的关系,以帮助您避免在排除特定项目时出现问题。
一些组件依赖于其他组件:
- 如果保留
uipath,请考虑同时保留istio和argocd。 - 如果保留
cert_manager,请考虑也保留uipath。