Skip to content
CKATroubleshootingTwo nodesMedium

Pods Pending on a cordoned node

Scenario cka-trb-007 · about 5 minutes · 6 points · 6 grader checks

A Deployment pinned to one node cannot schedule; find the node-level cause and fix it.

  • troubleshooting
  • scheduling
  • cordon
  • pending
  • nodeselector

What you will practise

  • Read scheduler events with kubectl describe pod
  • Recognise SchedulingDisabled on a node
  • Uncordon a node

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-trb-007

Task

The task text exactly as the CLI shows it. Solve it on the cluster, then run goldenkube submit.

Deployment "pending-app" (namespace "default", 3 replicas) has pods stuck in Pending. Its pods are pinned to node "exam-w1". Find out why they cannot be scheduled and fix the cause on the node, so that all 3 replicas become Ready. Do not delete the Deployment and do not remove its nodeSelector.

Requirements and details

Certification
CKA · Certified Kubernetes Administrator
Domain
Troubleshooting
Difficulty
Medium
Cluster topology
Two nodes
Cluster features
None beyond the base cluster
Recommended time
5 minutes
Points
6
Grader checks
6
Kubernetes version
1.37
Minimum CLI version
0.1.0
Scenario version
1
Published

Grading runs locally: 6 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.

CKATroubleshootingMedium

Worker NotReady: kubelet stopped

A worker node reports NotReady; diagnose and restore it without recreating the node.

Two nodes · ~7 min · 7 points

  • troubleshooting
  • node
  • kubelet
  • notready

goldenkube start cka-trb-001

CKATroubleshootingMedium

Worker NotReady: kubelet fails to start

The kubelet on a worker refuses to start; find the misconfiguration and fix it on the node.

Two nodes · ~8 min · 7 points

  • troubleshooting
  • node
  • kubelet
  • systemd
  • configuration

goldenkube start cka-trb-002

CKATroubleshootingHard

kube-apiserver static pod broken

kubectl cannot reach the cluster; repair the API server from the control plane node.

Single node · ~8 min · 8 points

  • troubleshooting
  • kube-apiserver
  • static-pod
  • control-plane
  • crictl

goldenkube start cka-trb-003

CKATroubleshootingMedium

Worker NotReady: container runtime down

A worker is NotReady although its kubelet runs; find the underlying runtime problem and fix it.

Two nodes · ~6 min · 6 points

  • troubleshooting
  • node
  • containerd
  • cri
  • kubelet

goldenkube start cka-trb-004

Independent community project, not affiliated with or endorsed by CNCF or The Linux Foundation. Lab results are practice feedback, not an exam score.