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

uipathctl 参考指南

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

uipathctl manifest apply

描述

加载在 PATH 中找到的配置,并将其应用于集群。

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

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

示例

# Apply the configuration found in input.json, using the versions found in versions.json
        uipathctl manifest apply input.json --versions versions.json
        
        # Apply the configuration and specify the kubeconfig file to use
        uipathctl manifest apply input.json --kubeconfig cluster.kubeconfig --versions versions.json

        # Simulate the apply command and print on stdout the result of the operation
        uipathctl manifest apply --dry-run input.json --versions versions.json

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

        # Apply the configuration overriding the initial list of components
        uipathctl manifest apply --override automation_hub,orchestrator --versions versions.json
        # Apply the configuration found in input.json, using the versions found in versions.json
        uipathctl manifest apply input.json --versions versions.json
        
        # Apply the configuration and specify the kubeconfig file to use
        uipathctl manifest apply input.json --kubeconfig cluster.kubeconfig --versions versions.json

        # Simulate the apply command and print on stdout the result of the operation
        uipathctl manifest apply --dry-run input.json --versions versions.json

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

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

选项

--continue-on-error   if true, continue applying the manifest even if an error occurs
--dependencies-only   if true, only dependencies will be applied
--dry-run             if true, just print the result of the command, without applying it
--fail-on-version     if true, fail if the version of the component is not found in the versions file
  -h, --help                help for apply
--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-dependencies   if true, dependencies will be skipped
--skip-helm           if true, skip components installed directly by helm
--versions string     path to versions file--continue-on-error   if true, continue applying the manifest even if an error occurs
--dependencies-only   if true, only dependencies will be applied
--dry-run             if true, just print the result of the command, without applying it
--fail-on-version     if true, fail if the version of the component is not found in the versions file
  -h, --help                help for apply
--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-dependencies   if true, dependencies will be skipped
--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。保留所有权利。