NodeSpec

io.k8s.api.core.v1.NodeSpec source ↗

NodeSpec describes the attributes that a node is created with.

configSourceNodeConfigSourceDeprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.
configMapConfigMapNodeConfigSourceConfigMap is a reference to a Node's ConfigMap
kubeletConfigKeystring requiredKubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.
namestring requiredName is the metadata.name of the referenced ConfigMap. This field is required in all cases.
namespacestring requiredNamespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.
resourceVersionstringResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
uidstringUID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.
externalIDstringDeprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966
podCIDRstring or podCIDRsPodCIDR represents the pod IP range assigned to the node.
podPreemptionPolicyNodePodPreemptionPolicyPodPreemptionPolicy controls the node-level preemption behaviors for pods on this node.This is an alpha field and requires enabling the InPlacePodVerticalScalingSchedulerPreemption feature gate.
disableResizePreemption[]stringDisableResizePreemption lists the owners (e.g., autoscalers, operators, administrators) that have requested to disable scheduler and Kubelet preemption for in-place pod resize on this node. If this list is non-empty, resize-induced preemption is disabled on this node.This is an alpha field and requires enabling the InPlacePodVerticalScalingSchedulerPreemption feature gate.
providerIDstringID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>
taints[]TaintIf specified, the node's taints.
effectstring requiredRequired. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
keystring requiredRequired. The taint key to be applied to a node.
timeAddedTimeTimeAdded represents the time at which the taint was added.
valuestringThe taint value corresponding to the taint key.
unschedulablebooleanUnschedulable controls node schedulability of new pods. By default, node is schedulable.More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration