Skip to main content
FieldTypeDescriptionValue(s)
skipNodeRegistrationboolThe skipNodeRegistration is used to run the kubelet without registering with the apiserver.
This runs kubelet as standalone and only runs static pods.
When this is set to true, other fields in this document are ignored.
true
yes
false
no
registerWithFQDNboolThe registerWithFQDN field is used to force kubelet to use the node FQDN for registration.
This is required in clouds like AWS.
true
yes
false
no
nodeIPNodeIPConfigThe nodeIP field is used to configure --node-ip flag for the kubelet.
This field should be set when a node has multiple addresses to choose from.
labelsmap[string]stringConfigures the node labels for the machine.

Note: In the default Kubernetes configuration, worker nodes are restricted to set
labels with some prefixes (see NodeRestriction admission plugin).
annotationsmap[string]stringConfigures the node annotations for the machine.
taintsmap[string]stringConfigures the node taints for the machine. Effect is optional.

Note: In the default Kubernetes configuration, worker nodes are not allowed to
modify the taints (see NodeRestriction admission plugin).

nodeIP

NodeIPConfig represents the node IP configuration.
FieldTypeDescriptionValue(s)
validSubnets[]stringThe validSubnets field configures the networks to pick kubelet node IP from.
For dual stack configuration, there should be two subnets: one for IPv4, another for IPv6.
IPs can be excluded from the list by using negative match with !, e.g !10.0.0.0/8.
Negative subnet matches should be specified last to filter out IPs picked by positive matches.
If not specified, node IP is picked based on cluster podCIDRs: IPv4/IPv6 address or both.