Taint, toleration and placement
Scenario cka-sch-001 · about 7 minutes · 6 points · 5 grader checks
Taint a worker node and run a Pod that tolerates the taint and is placed on that node.
- taint
- toleration
- scheduling
- nodename
What you will practise
- Apply a NoSchedule taint to a node
- Add a matching toleration to a Pod
- Place a Pod on a specific node deterministically
Start this lab
With the CLI installed and signed in, this command provisions a two nodes cluster on your Mac, applies the scenario setup and prints the task below.
goldenkube start cka-sch-001Task
The task text exactly as the CLI shows it. Solve it on the cluster, then run goldenkube submit.
Requirements and details
- Certification
- CKA · Certified Kubernetes Administrator
- Domain
- Workloads & Scheduling
- Difficulty
- Medium
- Cluster topology
- Two nodes
- Cluster features
- None beyond the base cluster
- Recommended time
- 7 minutes
- Points
- 6
- Grader checks
- 5
- Kubernetes version
- 1.37
- Minimum CLI version
- 0.1.0
- Scenario version
- 1
- Published
Grading runs locally: 5 state checks read your cluster when you submit; the scenario passes when every check passes. Hints, the reference solution and the check definitions are available only inside the CLI, not on this page.
More Workloads & Scheduling labs
Spread replicas across nodes
Create a Deployment whose replicas are guaranteed to land on different nodes.
Three nodes · ~8 min · 6 points
- scheduling
- topology-spread
- pod-anti-affinity
- deployment
goldenkube start cka-sch-002
Deployment with resource requests and a container port
Create a multi-replica Deployment with a memory request and a declared container port.
Single node · ~5 min · 4 points
- deployment
- resources
- requests
- workloads
goldenkube start cka-wkl-001
Rolling update of a Deployment
Update the image of a running Deployment with a rolling update and confirm all pods run the new image.
Single node · ~4 min · 4 points
- deployment
- rolling-update
- rollout
- workloads
goldenkube start cka-wkl-002
ConfigMap env var and Secret volume
Create a ConfigMap and a Secret and consume them from a Pod as an environment variable and a mounted volume.
Single node · ~8 min · 6 points
- configmap
- secret
- pod
- env
- volume
- workloads
goldenkube start cka-wkl-003
Independent community project, not affiliated with or endorsed by CNCF or The Linux Foundation. Lab results are practice feedback, not an exam score.