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

uipathctl 集群补丁

将配置更改应用于集群,无需在 Automation Suite 中安装新组件。

描述​

加载在参数中提供的路径中找到的配置,并将集群的状态驱动到该配置。

该命令将在集群的当前状态和所需状态之间执行差异,并将更改应用于集群。

与“应用”命令不同,patch 命令不会安装任何尚未安装的组件。

当存在--override标志时,列表将覆盖在输入文件中找到的选择。 该标志与--only标志互斥。 当输入文件中存在exclude_components key时,将从已安装的组件中排除列表中找到的组件。 与所有其他标志相比,此标志具有最高优先级,并且不与其中任何标志互斥。

uipathctl cluster patch PATH [flags]
uipathctl cluster patch PATH [flags]

示例​

# Apply the configuration found in input.json, using the versions found in versions.json
uipathctl cluster patch input.json --versions versions.json

# Apply the configuration and specify the kubeconfig file to use
uipathctl cluster patch input.json --kubeconfig cluster.kubeconfig --versions versions.json

# Apply the configuration but skip the components installed directly by helm
uipathctl cluster patch --skip-helm input.json --versions versions.json

# Apply the configuration overriding the initial list of components
uipathctl cluster patch --override automation_hub,orchestrator --versions versions.json
# Apply the configuration found in input.json, using the versions found in versions.json
uipathctl cluster patch input.json --versions versions.json

# Apply the configuration and specify the kubeconfig file to use
uipathctl cluster patch input.json --kubeconfig cluster.kubeconfig --versions versions.json

# Apply the configuration but skip the components installed directly by helm
uipathctl cluster patch --skip-helm input.json --versions versions.json

# Apply the configuration overriding the initial list of components
uipathctl cluster patch --override automation_hub,orchestrator --versions versions.json

选项​

      --component-timeout duration   timeout for individual components to be ready (default 15m0s)
  -h, --help                         help for patch
      --no-wait                      if true, return immediately after the ArgoCD applications are created
      --only strings                 optional exclusive list of components to apply
      --override strings             optional list to override the components enabled in input.json file
      --skip-helm                    if true, skip components installed directly by helm
      --skip-oss-prereq              if true, skip OSS components prerequisites checks
      --skip-upgrade-readiness       if true, skip backup and maintenance checks
      --versions string              path to versions file
      --component-timeout duration   timeout for individual components to be ready (default 15m0s)
  -h, --help                         help for patch
      --no-wait                      if true, return immediately after the ArgoCD applications are created
      --only strings                 optional exclusive list of components to apply
      --override strings             optional list to override the components enabled in input.json file
      --skip-helm                    if true, skip components installed directly by helm
      --skip-oss-prereq              if true, skip OSS components prerequisites checks
      --skip-upgrade-readiness       if true, skip backup and maintenance checks
      --versions string              path to versions file

从父命令继承的选项​

      --context string      name of the kubeconfig context to use
  -f, --force               override all user prompts to true
      --kubeconfig string   kubectl configuration file (default: ~/.kube/config)
      --log-format string   log format. one of [text,json] (default "text")
      --log-level string    set log level. one of [trace,debug,info,error] (default "info")
  -q, --quiet               suppress all output except for errors and warnings
      --timeout duration    timeout of the command (default: 90 minutes) (default 1h30m0s)
      --context string      name of the kubeconfig context to use
  -f, --force               override all user prompts to true
      --kubeconfig string   kubectl configuration file (default: ~/.kube/config)
      --log-format string   log format. one of [text,json] (default "text")
      --log-level string    set log level. one of [trace,debug,info,error] (default "info")
  -q, --quiet               suppress all output except for errors and warnings
      --timeout duration    timeout of the command (default: 90 minutes) (default 1h30m0s)
  • 描述​
  • 示例​
  • 选项​
  • 从父命令继承的选项​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新