Node labels are mainly used in the following scenarios:
After a node is created, some fixed labels exist and cannot be deleted. For details about these labels, see Table 1.
Key |
Description |
---|---|
New: topology.kubernetes.io/region Old: failure-domain.beta.kubernetes.io/region |
Region where the node is located |
New: topology.kubernetes.io/zone Old: failure-domain.beta.kubernetes.io/zone |
AZ where the node is located |
New: node.kubernetes.io/baremetal Old: failure-domain.beta.kubernetes.io/is-baremetal |
Whether the node is a bare metal node false indicates that the node is not a bare metal node. |
node.kubernetes.io/instance-type |
Node specifications |
kubernetes.io/arch |
Node processor architecture |
kubernetes.io/hostname |
Node name |
kubernetes.io/os |
OS type |
node.kubernetes.io/subnetid |
ID of the subnet where the node is located. |
os.architecture |
Node processor architecture For example, amd64 indicates a AMD64-bit processor. |
os.name |
Node OS name |
os.version |
Node OS kernel version |
node.kubernetes.io/container-engine |
Container engine used by the node. |
accelerator |
GPU node labels. |
cce.cloud.com/cce-nodepool |
The dedicated label of a node in a node pool. |
Enter the key and value of the label to be added or deleted, and click OK.
For example, the key is deploy_qa and the value is true, indicating that the node is used to deploy the QA (test) environment.