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

uipathctl manifest apply

在 Automation Suite 中对集群应用配置,并将状态提升到所需状态。

描述​

加载在 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/cluster_config.json --versions versions.json

# Apply the configuration and specify the kubeconfig file to use
uipathctl manifest apply input.json/cluster_config.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/cluster_config.json --versions versions.json

# Apply the configuration but skip the components installed directly by helm
uipathctl manifest apply --skip-helm input.json/cluster_config.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/cluster_config.json --versions versions.json

# Apply the configuration and specify the kubeconfig file to use
uipathctl manifest apply input.json/cluster_config.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/cluster_config.json --versions versions.json

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

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

选项​

      --component-timeout duration   timeout for individual components to be ready (default 15m0s)
      --continue-on-error            if true, continue applying the manifest even if an error occurs
      --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, doesn't touch the dependent components
      --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
      --versions string              path to versions file
      --component-timeout duration   timeout for individual components to be ready (default 15m0s)
      --continue-on-error            if true, continue applying the manifest even if an error occurs
      --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, doesn't touch the dependent components
      --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
      --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 论坛

保持更新