Study. uk . com
  1. Home
  2. All questions
  3. Question 421

CKA study material · question 421 of 1000

A kubelet is restarted with new --node-labels but the labels do not appear. Why?

  1. Labels are applied only at cluster creation
  2. Labels can only be set through kubectl
  3. The node must be re-registered for the change to take effect
  4. NodeRestriction strips all custom labels
Show the answer

Answer: C. The node must be re-registered for the change to take effect

Restarting with new labels under the same node name does not apply them; the node has to re-register.

Source: Nodes (Kubernetes) — Self-registration of Nodes

Challenge yourself on this topic → Study as cards