Skip to content
CKATroubleshootingTwo nodesMedium

Service with no endpoints

Scenario cka-trb-006 · about 6 minutes · 6 points · 4 grader checks

A Service forwards nowhere; find the mismatch and fix the Service only.

  • troubleshooting
  • service
  • selector
  • endpoints

What you will practise

  • Compare a Service selector with pod labels
  • Fix a Service selector in place
  • Verify endpoints after the fix

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-006

Task

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

In namespace "trb", Deployment "web" is running, but Service "web-svc" has no endpoints, so traffic to it goes nowhere. Fix Service "web-svc" so it has ready endpoints pointing at the pods of Deployment "web". Do NOT modify the Deployment or its pods' labels; only the Service may be changed.

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
6 minutes
Points
6
Grader checks
4
Kubernetes version
1.37
Minimum CLI version
0.1.0
Scenario version
1
Published

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