See the recent warning and normal events in a namespace.

Section: Event Analysis

List namespace events

bash
bash
kubectl get events -n <namespace>

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Event Analysis
Sort events by timestamp
Create an incident timeline from namespace events.
OpenIn sheetbashsame section
Sort all cluster events by timestamp
Find cluster-wide warnings around the same time window.
OpenIn sheetbashsame section
Show warning events only
Filter event list down to warning-level entries.
OpenIn sheetbashsame section
Show events for a specific object
Describe an object and inspect its event section.
OpenIn sheetbashsame section
Get pod logs
Print logs from the default container in a pod.
Read logs via deployment resource
Print logs from a workload resource instead of a single pod.