website/content/en/docs/reference/node/node-labels.md

1.8 KiB
Raw Permalink Blame History

content_type title weight
reference Node Labels Populated By The Kubelet 40

Kubernetes {{< glossary_tooltip text="nodes" term_id="node" >}} come pre-populated with a standard set of {{< glossary_tooltip text="labels" term_id="label" >}}.

You can also set your own labels on nodes, either through the kubelet configuration or using the Kubernetes API.

Preset labels

The preset labels that Kubernetes sets on nodes are:

{{}} The value of these labels is cloud provider specific and is not guaranteed to be reliable. For example, the value of kubernetes.io/hostname may be the same as the node name in some environments and a different value in other environments. {{}}

{{% heading "whatsnext" %}}