Split Node Resources
The web-app Deployment in namespace resources-ns has 3 replicas but none of the pods are running. A ResourceQuota has been applied to the namespace that limits total CPU and memory.
The task
The web-app Deployment in namespace resources-ns has 3 replicas but none of the pods are running.
A ResourceQuota has been applied to the namespace that limits total CPU and memory. The Deployment does not have resource requests or limits configured, so the pods are being blocked by the quota.
Task:
- Investigate why the pods are not being created
- Inspect the ResourceQuota to find the total CPU and memory budget
- Edit the Deployment so that each pod gets an equal share of the quota (requests must equal limits)
- Confirm all 3 pods are Running
What this tests
Run and schedule workloads — deployments, autoscaling, taints and tolerations, affinity, and resource limits. On the CKA exam, Workloads & Scheduling tasks are graded purely on what you build in the cluster — not multiple choice — so the only way to get faster is to do them on a real cluster against a clock.
Practice it for real
prepium.sh drops you into your own isolated Kubernetes cluster in the browser — no install, no credit card. You solve the task in a real terminal, hit validate, and a programmatic checker scores exactly what you got right and wrong (with partial credit). The canonical solution unlocks after you attempt it, so you learn the fast, exam-ready way to do it.