automation-suite
2023.10
false
- 概述
- 要求
- 安装
- 安装后
- 迁移和升级
- 监控和警示
- 集群管理
- 特定于产品的配置
- 故障排除
- 如何将应用程序日志转发到 Splunk
- 如何使用证书
- 如何使用集群内对象存储 (Ceph) 收集 DU 使用情况数据
- 如何卸载 Automation Suite
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

EKS/AKS 上的 Automation Suite 安装指南
上次更新日期 2025年11月13日
本节说明如何使用提供的卸载脚本从 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。