kubectl get nodesKubernetes Node Debugging Cheat Sheet
Diagnose node readiness, kubelet issues, pressure conditions, cordon/drain, and node-level debugging with kubectl debug.
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all
Node Health and Conditions
bashANYnodeshealth
bash
bashANYnodesdescribe
bash
kubectl describe node <node>bashANYnodesyaml
bash
kubectl get node <node> -o yamlbashANYnodesmetrics
bash
kubectl top node <node>bashANYnodesmetrics
bash
kubectl top nodesbashANYnodesconditions
bash
kubectl get nodes -o custom-columns=NAME:.metadata.name,READY:.status.conditions[?(@.type=="Ready")].status,MEM:.status.conditions[?(@.type=="MemoryPressure")].status,DISK:.status.conditions[?(@.type=="DiskPressure")].status,PID:.status.conditions[?(@.type=="PIDPressure")].statusNode Debug Shell
bashANYdebugnodes
bash
kubectl debug node/<node> -it --image=busybox:1.36bashANYdebugnodes
bash
kubectl debug node/<node> -it --image=ubuntu:24.04bashANYdebughost
bash
chroot /hostbashANYkubeletlogs
bash
journalctl -u kubelet --no-pager | tail -n 200bashANYcrictlruntime
bash
crictl ps -abashANYcrictlruntime
bash
crictl podsScheduling and Maintenance
bashANYcordonmaintenance
bash
kubectl cordon <node>bashANYuncordonmaintenance
bash
kubectl uncordon <node>bashANYdrainmaintenance
bash
kubectl drain <node> --ignore-daemonsets --delete-emptydir-databashANYnodespods
bash
kubectl get pods -A --field-selector spec.nodeName=<node> -o widebashANYdaemonsetsnodes
bash
kubectl get daemonsets -AControl Plane and System Pods
bashANYkube-systemsystem
bash
kubectl get pods -n kube-system -o widebashANYkube-proxynetworking
bash
kubectl describe pod -n kube-system <kube-proxy-pod>bashANYkube-proxylogs
bash
kubectl logs -n kube-system <kube-proxy-pod>bashANYnodessystem
bash
kubectl get pods -n kube-system | grep -i node-problem-detectorMore in Kubernetes Debugging
Kubernetes Logs and Events Cheat Sheet
Find pod logs, previous container logs, event timelines, kube-system logs, and cluster incident evidence quickly.
Kubernetes Network Debugging Cheat Sheet
Debug Services, DNS, Ingress, network policies, connectivity, endpoints, and port-forwarding issues.
Kubernetes Pod Debugging Cheat Sheet
Troubleshoot Pending, CrashLoopBackOff, image pull, readiness, liveness, and init container problems.
Kubernetes Debugging Cheat Sheet
Core kubectl troubleshooting commands for pods, deployments, services, events, logs, exec sessions, and ephemeral debugging.