Module 2 › Troubleshooting › Flashcards
Flashcards · optional
Flashcards: Troubleshooting
0/16 known
9. TroubleshootingCrashLoopBackOff
Click or press Space to flip CrashLoopBackOffPod state where a container keeps exiting and the kubelet waits an increasing back-off delay before each restart.
Card 1 of 16
- CrashLoopBackOff
- Pod state where a container keeps exiting and the kubelet waits an increasing back-off delay before each restart.
- ImagePullBackOff
- State where the kubelet failed to pull an image (ErrImagePull) and is waiting before retrying.
- CreateContainerConfigError
- Error creating a container’s configuration, usually because a referenced ConfigMap or Secret (or key) is missing.
- OOMKilled
- Termination reason when a container exceeds its memory limit and is killed by the kernel (exit code 137).
- Exit code 137
- 128 + 9: the process received SIGKILL, typically due to OOM or exceeding the termination grace period.
- FailedScheduling
- Scheduler event explaining why no node could accept a Pending Pod.
- Event
- Short-lived API object recording something that happened to another object (scheduled, pulled, killed, failed).
- kubectl logs --previous
- Shows logs from the previous terminated instance of a container; essential for crash loops.
- kubectl debug
- Adds an ephemeral debug container to a running Pod (or copies a Pod/node) for troubleshooting.
- NotReady
- Node condition when the kubelet is not reporting healthy status to the control plane.
- Node pressure
- MemoryPressure, DiskPressure or PIDPressure conditions that trigger kubelet evictions.
- journalctl -u kubelet
- Reads the systemd journal for the kubelet service on a node.
- crictl
- CLI for CRI-compatible container runtimes, used on a node to inspect Pods, containers, images and logs.
- /readyz and /livez
- API server health endpoints for readiness and liveness; add ?verbose for individual checks.
- EndpointSlice
- Object listing the ready backend addresses of a Service; empty slices mean no matching Ready Pods.
- kube-dns Service
- The cluster DNS Service in kube-system, served by CoreDNS Pods labelled k8s-app=kube-dns.