- Home
- All questions
- Question 554
CKA study material · question 554 of 1000
How should a restricted label such as node-role.kubernetes.io/worker be applied to a node in a kubeadm cluster?
Show the answer
Answer: C. With kubectl label after the node has joined, using a privileged kubeconfig
Restricted labels cannot be self-applied by a kubelet under NodeRestriction, so they are set afterwards with kubectl label using a privileged kubeconfig such as admin.conf.
Source: Creating a cluster with kubeadm (Kubernetes) — Managed node labels