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

uipathctl 集群升级

通过在 Automation Suite 中安装选择性组件,将集群状态驱动到所需的配置。

描述​

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

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

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

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

uipathctl cluster upgrade PATH [flags]
uipathctl cluster upgrade PATH [flags]

示例​

# Apply the configuration found in input.json, using the versions found in versions.json
uipathctl cluster upgrade input.json/cluster_config.json --versions versions.json

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

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

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

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

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

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

选项​

      --component-timeout duration   timeout for individual components to be ready (default 15m0s)
  -h, --help                         help for upgrade
      --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 upgrade
      --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 论坛

保持更新