automation-suite
2.2510
true
OpenShift 上的 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
配置应用程序设置
在 OpenShift 上的 Automation Suite 中使用 uipathctl 命令更新 Orchestrator appSettings 配置。
Orchestrator 配置由一系列 Kubernetes 配置映射和密码组成,这些数组按特定顺序加载,并放置在配置映射的appSettings部分中。
将从orchestrator-customconfig配置映射中加载最新配置。 任何新加载的配置都将覆盖具有相同密钥的所有现有设置。
要显示当前的自定义 Orchestrator 配置,请使用config orchestrator get-config uipathctl 命令:
uipathctl config orchestrator get-config --app-settings
{
"key":"value"
}
uipathctl config orchestrator get-config --app-settings
{
"key":"value"
}
配置appSettings所需的uipathctl命令包括:
uipathctl config orchestrator get-config --app-settings- Exports the current configuration in a key-value pair json file, ready for editing. For details, refer to the uipathctl config orchestrator get-config section.uipathctl config orchestrator update-config --app-settings appsettings.json- Updates the configuration with your changes. For details, refer to the uipathctl config orchestrator update-config section.
-
使用以下命令将当前自定义
appSettings配置导出至 json 文件:uipathctl config orchestrator get-config --app-settings > appsettings.jsonuipathctl config orchestrator get-config --app-settings > appsettings.json -
根据需要编辑导出的
appsettings.json文件。您可以添加、删除或更改其任何设置,如以下示例所示:{ "Triggers.DisableWhenFailedCount": "20", "Triggers.JobsCountStrategy": "NoLimit" }{ "Triggers.DisableWhenFailedCount": "20", "Triggers.JobsCountStrategy": "NoLimit" }备注:每次需要进行更改时,都必须重新导出文件,因为更新会覆盖所有设置。
-
使用以下命令更新
appSettings配置:uipathctl config orchestrator update-config --app-settings appsettings.json orchestrator config updateduipathctl config orchestrator update-config --app-settings appsettings.json orchestrator config updated