Goal
Label the node, then schedule a Pod that tolerates a taint and targets the node via nodeSelector.
Requirements
- Add label
tier=frontendto the node (find it:kubectl get nodes) - Taint the node
dedicated=frontend:NoSchedule - A Pod
web(imagenginx:1.25) with a matching toleration andnodeSelector: {tier: frontend}that reaches Running
A Pod with no toleration would stay Pending — prove yours schedules.