← Back to blog

Kubernetes Events Monitoring: Watch, Filter and Keep Them

November 10, 2026
Kubernetes Events Monitoring: Watch, Filter and Keep Them

To monitor Kubernetes events, stream them with kubectl events --watch, filter down to Warning types and the resources you care about, and ship them to external storage. Events vanish after about an hour by default, so anything you want to analyze later has to be collected before then. This guide covers each step, from a one-line live view to alert rules and long-term retention.

Kubezilla Desktop
Monitor Events Across Your Clusters
Kubezilla Desktop brings live logs and metrics for multiple Kubernetes clusters into one app, helping you investigate issues alongside event monitoring.
Explore Kubezilla Desktop

TL;DR

  • Run kubectl events --watch --all-namespaces --types=Warning for a live feed of what is going wrong right now.
  • Events are best-effort and short-lived: the default retention is one hour, so export them if you need history.
  • Alert on Failed and Scheduling events first. Treat Evicted and routine node events as low priority.
  • Raising the API server's event TTL is a poor fix on self-managed clusters. Ship events to external storage instead.
  • A desktop client can put events, logs and metrics for several clusters in one place while you troubleshoot.

Table of Contents

What Kubernetes events tell you

An event is a report that something changed in the cluster. According to the Kubernetes API reference for Event, it generally denotes a state change, has limited retention, and should be treated as informative, best-effort, supplemental data. Do not build logic that depends on a given Reason always reflecting the same trigger.

Events are created when pods, deployments or nodes change state. They surface failed image pulls, scheduling failures, volume issues, evictions and unhealthy nodes, which is why they are often the first place to look when a rollout stalls.

Five Kubernetes event categories that signal cluster issues

The fields worth reading

Per Datadog's breakdown of event fields, the ones you will use most are:

FieldWhat it tells you
involvedObjectThe component affected, such as a pod or node
typeSeverity: Normal or Warning
reasonThe cause, such as FailedScheduling
messageHuman-readable context
sourceThe component that generated it: kubelet, kube-controller-manager or scheduler

The Azure AKS documentation also lists namespace, firstSeen, lastSeen and reportingController as key fields. Together they answer what happened, to what, and how often.

Watch Kubernetes events in real time

The simplest live view is the built-in command. kubectl events lists recent events and, with --watch, waits for more as they arrive.

kubectl events --watch
kubectl events --watch --all-namespaces
kubectl events --watch --types=Warning
kubectl events --for pod/my-pod --watch

The flags you need:

  • --all-namespaces (or -A) covers the whole cluster.
  • --types=Normal,Warning limits the feed by type.
  • --for TYPE/NAME follows one resource.
  • -w or --watch keeps the stream open.

The older form, kubectl get events --watch, is also recommended by the CNCF for streaming, with -o json for export.

A practical habit: open the watch in one terminal before you apply a change. If the rollout hits a problem, the Warning shows up within seconds, next to the object that caused it.

Filter events by namespace, resource and type

On a busy cluster the raw feed is noise. Field selectors cut it down. The commands below follow the kubernetes.recipes guide and the CNCF troubleshooting techniques:

# One namespace
kubectl get events -n my-namespace

# Warnings across the cluster
kubectl get events -A --field-selector type=Warning

# Events for one pod
kubectl get events --field-selector involvedObject.name=my-pod

# Scheduling failures only
kubectl get events --field-selector reason=FailedScheduling

# Combine selectors
kubectl get events --field-selector involvedObject.name=my-pod,type=Warning

The CNCF guide also shows filtering by time with a lastTimestamp selector, useful when you want to look at only the window after a deploy.

If events look sparse, check the namespace. Events are namespaced, so a pod problem will not appear in default if the pod lives elsewhere.

Read the events that matter

Most troubleshooting comes down to a short list of reasons. These mappings come from Datadog's guide and the kubernetes.recipes patterns:

ReasonUsual meaningFirst check
FailedSchedulingNo suitable nodePod requests and limits, then node capacity
FailedMount, FailedAttachVolumeVolume problemPVC status and storage backend
ImagePullBackOffRegistry or image issueImage name, tag and pull credentials
CrashLoopBackOffContainer keeps crashingContainer logs
UnhealthyProbe failureProbe path, port and timing
EvictedPod removed from a nodeNode pressure and resource requests

A FailedScheduling message can be very specific. Datadog gives an example of a message reading 0/39 nodes available, with one node out of disk space and 38 short on CPU. Check requests and limits first, and add nodes only if those are sound.

Once an event points at a pod, the next step is usually its output. Our guide to viewing Kubernetes logs covers that, and pod metrics show whether a resource limit is the cause.

Why events disappear, and what to do about it

Events are stored in etcd and pruned by the API server. The default is one hour, and managed services behave the same way: AKS states that events are only available for one hour unless you enable extra tooling. If the same event repeats within the hour, its timestamp updates and the TTL resets.

The Kubernetes blog on event management names the production problems:

  • Large clusters can produce thousands of events per minute.
  • Retention is limited to an hour.
  • Related events from different components are not linked.
  • There is no standard severity or category.
  • Similar events are not grouped.

On self-managed clusters you can raise --event-ttl on kube-apiserver, but raising it increases etcd size and can cause performance problems. The better pattern is to collect events as they happen and send them elsewhere.

Collect and store events for the long term

The same write-up recommends shipping events to external storage such as OpenSearch, Loki or Datadog, where you can correlate them with pod logs. The Kubernetes blog describes a clean architecture with three parts:

  1. Event watcher: monitors the API for new events.
  2. Event processor: categorizes and correlates them.
  3. Storage backend: keeps processed events for longer.

It also recommends rate limiting, filtering at the API server, batching writes, spreading work across workers and backing off when the API rate-limits you.

If you are choosing where events and other telemetry should live, this overview of server monitoring tools helps you map the options to your team.

Exporters exist for the job too. The CNCF mentions KubeWatch, Kubernetes Events Exporter and EventRouter for collection and alerting.

Alert on the right events

Turning events into metrics lets Prometheus alert on them. The event_exporter exposes kube_event_count, with labels for object kind, name, namespace, reason, source and type, plus kube_event_unique_events_total. The kubernetes.recipes guide builds a crash-loop alert from kube_event_count with reason BackOff and type Warning.

The CNCF suggests a sensible priority order:

  • Watch Failed and Scheduling events closely, since ignoring them can break applications.
  • Keep Evicted events at low priority, as they often come from routine cleanup.
  • Choose node and storage events deliberately. NodeReady is good to know but does not need an alert every time.

For a Grafana-based approach with Slack or email alerts, see the CNCF guide to alerting on events.

For quick ad hoc counting, the kubernetes.recipes guide also shows jq pipelines that group events by reason or namespace after kubectl get events -o json.

A repeatable workflow

  1. Start kubectl events -A --types=Warning --watch before a change.
  2. Apply the change, preferably after a server-side dry run.
  3. When a Warning appears, read the reason and involved object.
  4. Jump to logs, metrics or a pod shell to confirm the cause.
  5. If the problem is a network symptom, follow the layer-by-layer connectivity guide.
  6. Record the pattern, and add an exported alert if it will recur.

Our perspective

Events are the cluster talking in real time, and most engineers only listen after something has already broken. The pain is rarely the command. It is juggling terminals, contexts and tabs across several clusters while the hour-long clock runs.

We built Kubezilla Desktop so events, logs, metrics and pod terminals live in one native app. It connects to multiple clusters, including through SSH tunnels, so you do not need VPN gymnastics or bastion hops to see what is happening.

It is built in Rust, designed for low RAM use and fast startup, and it stores kubeconfigs securely on your machine. We designed it with no cloud sync and no telemetry, because cluster access is sensitive.

Margus

Watch your clusters from one app

Kubezilla Desktop is a native app for Linux, macOS and Windows that brings live logs, metrics, pod terminals, YAML editing, workload scaling and Helm and ArgoCD operations into a single interface, at €5 per month. See how it works on the Kubernetes desktop app page.

Kubezilla Desktop

If your day-two routine involves several clusters, our management workflow guide shows where a desktop client fits. You can start from the Kubezilla Desktop home page.

FAQ

How do I watch Kubernetes events live?

Run kubectl events --watch, adding -A for all namespaces or --types=Warning for problems only. It lists recent events and then streams new ones as they arrive.

How long do Kubernetes events last?

By default, about one hour. The API server prunes them from etcd after that period, and a repeat of the same event resets the timer. To keep history, export events to external storage.

Can I change how long events are kept?

On self-managed clusters, the kube-apiserver --event-ttl flag sets retention. Larger values grow etcd and can hurt performance, so collecting events into a log or metrics backend is the safer route.

Which events should trigger alerts?

Start with Failed and Scheduling events, plus repeated BackOff warnings. Keep Evicted and routine node-ready events at low priority or on a dashboard only.

Sources