Describe a Kubernetes Pod and its recent events
Build a paste-ready command, then review its compatibility and effects before running it.
kubectl -n <namespace> describe pod <pod>Complete required fields to copy the generated command.
read-onlyno known side effects Compatibility
Linux + macOS + WindowsVerified for Linux, macOS, Windows using bash, zsh, powershell syntax.
Operational knowledgereview due 2027-01-20
Requirementskubectlkubectl must be installed and available on PATH.
Version supportkubectl Current supported releasesVerified for linux, macos, windows using bash, zsh, powershell syntax; consult compatibility notes for platform-specific differences.
Expected signalsName: api-7d9f8c6b5-x2k4mRepresentative successful output; values vary with the selected target and system state.
Known errorskubectl: command not foundkubectl is missing or is not available on PATH.
Verifykubectl -n {{namespace}} describe pod {{pod}}The output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01kubectlCommandRuns the kubectl stage of this one-liner.
02-nOptionApplies the command-specific numeric, dry-run, or non-resolving mode.
03<namespace>ParameterA value supplied in the Fill parameters section.
04describeArgumentPasses describe to kubectl.
05podArgumentPasses pod to kubectl.
06<pod>ParameterA value supplied in the Fill parameters section.
Example input
kubectl -n default describe pod api-7d9f8c6b5-x2k4m
Example output
Name: api-7d9f8c6b5-x2k4m
Namespace: default
Status: Running
Containers:
api:
Ready: True
Events: <none>
Illustrative output — exact values vary by system and data.
Official sources