CrashLoopBackOff: container command exits
Scenario cka-trb-008 · about 6 minutes · 6 points · 4 grader checks
A Deployment's containers keep exiting; find out why and make them stay running.
- troubleshooting
- crashloopbackoff
- deployment
- logs
What you will practise
- Read previous container logs
- Inspect a container command in a Deployment
- Edit a Deployment so its pods stay running
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 cka-trb-008Task
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
- Troubleshooting
- Difficulty
- Medium
- Cluster topology
- Single node
- 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.
More Troubleshooting labs
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
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
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
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.