Challenge
DifficultyEasy
Learner activity No attempts yet
CKA Lab 03: Schedule a Pod with nodeSelector
Kubernetes foundations with task requirements and automatic verification.
Schedule a Pod with nodeSelector
Time: About 15 minutes
Use the dev-machine terminal. Each lab starts independently. The lab prepares node-selector-lab; no resources from earlier labs are required.
Choose any Ready, schedulable worker node (not a control-plane node). Keep existing system labels and taints intact. Node names may differ between playgrounds.
- Add label
training.example.com/pool=frontendto your chosen worker. - Create a standalone Pod named
webinnode-selector-lab. - Set its
nodeSelectorto requiretraining.example.com/pool=frontend. - Let the scheduler place it on a worker with that label. Do not assign
spec.nodeNameyourself. - Exactly one regular container using image
ghcr.io/iximiuz/labs/nginx:alpine - Pod phase: Running; Ready condition: True
Leave the Pod running and keep your node configuration in place until verification passes.
Choose your own commands or manifests. Checks evaluate the resulting state; command history is not graded.