clusterctl config
clusterctl config
clusterctl config
Start, inspect and check the configuration
Synopsis
The configuration is read from several documents and merged in layers: built-in defaults, the site, the cluster, the workstation, the context, the environment and finally the flags. Each layer wins over the ones before it.
These commands show what the merge produced and where each value came from. “clusterctl config init” writes a first configuration to start from.
clusterctl config [flags]Options
-h, --help help for configOptions inherited from parent commands
--config strings configuration file or directory to read, repeatable (default: CLUSTERCTL_CONFIG or the search path)
--context string context to act on (default: the current one)
--dry-run report what would be done and change nothing
--fanout int how many hosts to work on at once, at least 1 (default: from the configuration)
--force allow protected hosts, and nodes the inventory does not know, to be touched
-n, --nodes stringArray node set to act on, for example 'exe[1-10],@rack:R02' (default: CLUSTERCTL_NODES)
-o, --output string output format: table, wide, json, yaml, nodeset, name, jsonpath=, jq= (default "table")
--set stringArray override one configuration value as PATH=VALUE, repeatable
-y, --yes answer the confirmation prompts with yesSEE ALSO
- clusterctl - Administer HPC clusters from one binary
- clusterctl config contexts - List the configured contexts
- clusterctl config explain - Show where one configuration value came from
- clusterctl config init - Write a first configuration to fill in
- clusterctl config schema - Print the JSON Schema of a configuration kind
- clusterctl config use-context - Print how to make a context current
- clusterctl config validate - Check the configuration files
- clusterctl config view - Print the merged configuration