Tech
Kubernetes Troubleshooting: What to Check Before You Restart a Pod
Production incident. Pod is failing. Alerts are firing.
The instinctive response is often:
"Restart the pod and see if it comes back."
Sometimes that restores service β but it can also destroy useful evidence.
Before restarting, check these five things.
1. Describe the pod
kubectl describe pod <pod-name> -n <namespace>
Look at:
Container state
Restart count
Last termination reason
Probe failures
Events
This often tell...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to