Stop Kubelets From Relabelling Themselves
PCI workloads run only on node01, which is selected by the label node-restriction.kubernetes.io/pci=true. Labels with the node-restriction.kubernetes.io/ prefix exist for exactly this: a kubelet must never be able to set them on its own Node. Otherwise, an attacker who takes over any node could relabel it and pull the PCI workloads onto it.
This is a Pro problem
Pro unlocks every lab and quiz, all roadmaps and a full daily plan.
Unlock with ProPart of Prepare for the CKS. Next step: Lock Down a Kubelet
Teaching or writing about this? Embed this lab on your page