Prompt

Why are my pods restarting in Kubernetes?

Technology / Cloud Infrastructure1 observationLast seen Oct 19, 2026

Latest observation

Oct 19, 2026OpenAI APIWeb search: off

Pods in Kubernetes restart for a few common reasons. The exact cause depends on whether the container is restarting inside the same pod, or the pod itself is being recreated by a controller like a Deployment.

Common reasons

1. App crashes or exits

If the main process in the container exits with a non-zero code, Kubernetes restarts it.

Check:

kubectl describe pod <pod-name>
kubectl logs <pod-name> --previous

Look for:

  • CrashLoopBackOff
  • exit codes like 1, 137, 143

2. Liveness probe failures

If your liveness probe fails, Kubernetes assumes the container is unhealthy and restarts it.

Check in describe pod:

  • Liveness probe failed
  • probe timeout / connection refused / HTTP errors

3. Resource limits being hit

If the container uses too much memory, it may be OOM-killed.

Signs:

  • exit code 137
  • OOMKilled in pod status

Check:

kubectl describe pod <pod-name>

Look for:

  • Last State: Terminated
  • Reason: OOMKilled

4. Readiness probe issues

Readiness probe failures do not usually restart the pod, but they can make it look “broken” because traffic stops going to it.


5. Node problems

If the node is under pressure, drained, or crashes, pods may be evicted or rescheduled elsewhere.

Check:

kubectl get pod -o wide
kubectl describe node <node-name>

Look for:

  • Evicted
  • NodeNotReady
  • MemoryPressure, DiskPressure, PIDPressure

6. Deployment rolling updates or scaling

The pod may not be restarting; it may be getting replaced during:

  • rollout
  • image update
  • autoscaling
  • manual delete/recreate

Check:

kubectl rollout status deployment/<name>
kubectl get events --sort-by=.metadata.creationTimestamp

7. Failing startup probe

If a startup probe fails, Kubernetes restarts the container before it can come up fully.


Best troubleshooting steps

  1. Describe the pod

    kubectl describe pod <pod-name>
    
  2. Check current and previous logs

    kubectl logs <pod-name>
    kubectl logs <pod-name> --previous
    
  3. Inspect restart count

    kubectl get pod <pod-name>
    
  4. Check events

    kubectl get events --sort-by=.metadata.creationTimestamp
    
  5. Check probes, resources, and node health

    • liveness/startup/readiness probe config
    • memory/cpu limits
    • node conditions

Quick interpretation guide

  • CrashLoopBackOff → app is crashing or probe is failing
  • OOMKilled → memory limit exceeded
  • Error / exit code 1 → app terminated unexpectedly
  • Evicted → node pressure or scheduling issue
  • Completed → job-like workload finished normally

If you want, paste the output of:

kubectl describe pod <pod-name>
kubectl logs <pod-name> --previous

and I can help pinpoint the exact reason.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.