kubectl get pods is the first thing most of us run in an incident, and I've slowly stopped taking some of its columns at face value.
Two that keep catching people out:
RESTARTS. It's a per-pod counter. When a Deployment rolls or the pod gets rescheduled, the new pod starts at 0. So an app that crashed 40 times yesterday can show a clean 0 today, just because the pod was replaced. The history is gone unless you have events or metrics from before.
READY 1/1. All it means is that the readiness probe passes. If there's no readiness probe, the container counts as ready as soon as it starts. A pod can sit at 1/1 Running while returning 500 to every request.
What I do now: kubectl describe for events and last state, and I treat the table as a hint, not an answer.
Which column (or command) did you learn not to trust, and what do you look at instead? Curious about kubectl top and AVAILABLE on Deployments in particular.
Top comments (0)