clusterctl dhcp
clusterctl dhcp
clusterctl dhcp
Read what the DHCP server knows about the nodes
Synopsis
Read the DHCP server’s configuration and log: the addresses, hardware addresses, client identifiers and boot files it hands to the nodes.
The configuration is parsed rather than grepped, so a declaration whose options are in an unusual order reports its own values and not a neighbour’s. Files named by include statements are read too, and a construct the parser does not understand is an error. The configuration is fetched once and reused for a short time, so asking about a hundred nodes does not fetch it a hundred times.
clusterctl dhcp [flags]Options
-h, --help help for dhcpOptions 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 dhcp capture - Capture DHCP traffic on the server
- clusterctl dhcp config - Print the parsed DHCP configuration
- clusterctl dhcp hosts - Show the DHCP entries of a node set
- clusterctl dhcp log - Show the DHCP responses from the server log
- clusterctl dhcp shell - Open a shell on the DHCP server