Skip to main content
⚡ OpenDevDocs
Kubernetes Commands
devopskubernetesReferenceBeginner

kubectl describe

Show detailed state, configuration, controller bindings, and diagnostic events for a specific Kubernetes resource.

Verified: 2026-10-01
Tested on:kubernetes 1.31
Platforms:
all
#kubernetes#kubectl#describe#events#debugging

Command

kubectl describe pod web-app-559d7b489d-abc12


Short Description

kubectl describe produces a detailed human-readable summary of a resource, including container specifications, volume mounts, conditions, and the critical Events timeline.


Syntax

kubectl describe <resource_type> <resource_name> [-n <namespace>]

Examples

1. Diagnose a Failing Pod

kubectl describe pod api-server-7f89c66bc-xyz89

2. Inspect Node Capacity and Health Conditions

kubectl describe node node-worker-01

3. Inspect Service Endpoints and Port Mappings

kubectl describe svc backend-api-service

What to Look For

  • Events (at the bottom): Shows container pulling errors (ErrImagePull), probe failures, and scheduling decisions.
  • State & Reason: Explains why a container crashed (OOMKilled, CrashLoopBackOff, Exit Code).
  • Conditions: Initialized, Ready, ContainersReady, PodScheduled.

On this page