Skip to content
CKADApplication Observability and MaintenanceSingle nodeMedium

Troubleshoot a Deployment that never becomes Ready

Scenario ckad-obs-002 · about 8 minutes · 8 points · 8 grader checks

Use events, pod status and describe output to find and fix why a Deployment's pods never become Ready.

  • troubleshooting
  • debugging
  • deployment
  • events
  • probes

What you will practise

  • Read pod status, events and kubectl describe output
  • Recognise image pull errors and failing readiness probes
  • Fix a Deployment in place

Start this lab

With the CLI installed and signed in, this command provisions a single node cluster on your Mac, applies the scenario setup and prints the task below.

goldenkube start ckad-obs-002

Task

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

In namespace "debug" the Deployment "orders" (2 replicas, meant to run the web server image nginx:1.27) never becomes available, so the Service "orders" (port 80) has no endpoints. Find out why and fix the Deployment. Requirements: - keep the Deployment "orders" (edit it, do not delete and recreate it) - keep its readiness probe; it must check HTTP on the port the web server actually listens on - do not change the Service When you are done both replicas must be Ready and be endpoints of the Service "orders".

Requirements and details

Certification
CKAD · Certified Kubernetes Application Developer
Domain
Application Observability and Maintenance
Difficulty
Medium
Cluster topology
Single node
Cluster features
None beyond the base cluster
Recommended time
8 minutes
Points
8
Grader checks
8
Kubernetes version
1.37
Minimum CLI version
0.1.0
Scenario version
1
Published

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

CKADApplication Observability and MaintenanceEasy

Readiness and liveness probes

Add HTTP readiness and TCP liveness probes with specific timings to a running Deployment.

Single node · ~7 min · 10 points

  • probes
  • readiness
  • liveness
  • health-checks
  • deployment

goldenkube start ckad-obs-001

CKADApplication Observability and MaintenanceEasy

Logs, label selectors and custom output to files

Collect container logs and produce label-filtered and custom-column kubectl output into answer files.

Single node · ~7 min · 6 points

  • logs
  • jsonpath
  • custom-columns
  • labels
  • kubectl-output

goldenkube start ckad-obs-003

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