automation-suite
2023.4
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

uipathctl 参考指南

上次更新日期 2024年11月11日

uipathctl 集群升级

描述

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

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

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

当存在 --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 --versions versions.json
        
        # Apply the configuration and specify the kubeconfig file to use
        uipathctl cluster upgrade input.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 --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 --versions versions.json
        
        # Apply the configuration and specify the kubeconfig file to use
        uipathctl cluster upgrade input.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 --versions versions.json

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

选项

-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
--versions string    path to versions file  -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
--versions string    path to versions file

从父命令继承的选项

--context string      name of the kubeconfig context to use
--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 "error")
--timeout duration    timeout of the command (default 1h0m0s)--context string      name of the kubeconfig context to use
--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 "error")
--timeout duration    timeout of the command (default 1h0m0s)
  • 描述
  • 示例
  • 选项
  • 从父命令继承的选项

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。