clusterctl config schema
clusterctl config schema
clusterctl config schema
Print the JSON Schema of a configuration kind
Synopsis
Print the JSON Schema an editor needs to check and complete a configuration file. Point the YAML language server at it with a comment at the top of the file:
yaml-language-server: $schema=./site.schema.json
Without an argument every kind is printed as one object keyed by kind.
clusterctl config schema [KIND] [flags]Options
-h, --help help for schemaOptions 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 (default: from the configuration)
--force allow protected hosts to be touched
-n, --nodes string node set to act on, for example 'exe[1-10],@idle'
-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 config - Inspect and check the configuration