UiPath Documentation
automation-suite
2.2510
true
Linux 版 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

配置应用程序设置

有关通过 Automation Suite 中 Orchestrator 的 Kubernetes 配置映射和密码进行应用程序设置配置的参考。

Orchestrator 配置由一系列 Kubernetes 配置映射和密码组成,这些数组按特定顺序加载,并放置在配置映射的appSettings部分中。

将从orchestrator-customconfig配置映射中加载最新配置。 任何新加载的配置都将覆盖具有相同密钥的所有现有设置。

要显示当前的自定义 Orchestrator 配置,请使用config orchestrator get-config uipathctl 命令:

./bin/uipathctl config orchestrator get-config --app-settings
{
  "key":"value"
}
./bin/uipathctl config orchestrator get-config --app-settings
{
  "key":"value"
}

配置appSettings所需的uipathctl命令包括:

  1. 使用以下命令将当前自定义appSettings配置导出至 json 文件:

    ./bin/uipathctl config orchestrator get-config --app-settings > appsettings.json
    ./bin/uipathctl config orchestrator get-config --app-settings > appsettings.json
    
  2. 根据需要编辑导出的appsettings.json文件。您可以添加、删除或更改其任何设置,如以下示例所示:

    {
        "Triggers.DisableWhenFailedCount": "20",
        "Triggers.JobsCountStrategy": "NoLimit"
    }
    {
        "Triggers.DisableWhenFailedCount": "20",
        "Triggers.JobsCountStrategy": "NoLimit"
    }
    
    备注:

    每次需要进行更改时,都必须重新导出文件,因为更新会覆盖所有设置。

  3. 使用以下命令更新appSettings配置:

    ./bin/uipathctl config orchestrator update-config --app-settings appsettings.json
    orchestrator config updated
    ./bin/uipathctl config orchestrator update-config --app-settings appsettings.json
    orchestrator config updated
    

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新