This is the manual for clusterctl v0.2.0. The latest release is v0.4.0: read its manual.
clusterctl node select

clusterctl node select

clusterctl node select

Resolve a node set expression

Synopsis

Resolve a node set expression and print the result, folded by default.

This is the node set calculator: ranges, groups and the set operators are all evaluated, strictly from left to right.

clusterctl node select ’exe[1-10]!exe5' clusterctl node select ‘@idle&@rack:R02’ –expand clusterctl node select ‘@exe’ –count

clusterctl node select [EXPRESSION] [flags]

Options

  -c, --count    print how many nodes the expression names
  -e, --expand   print one node per line instead of folding
  -h, --help     help for select

Options 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 yes

SEE ALSO