13/116
Sign inSign up free

204. Stop Kubelets From Relabelling Themselves

medium 20 XP ~9 minHands-on lab Pro

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 Pro

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Pro lab

Upgrade to open a machine for this problem.

See Pro