CmdID

CmdID / Commands

kubectl-events

Display resource events. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Show events in the default namespace

kubectl eventsIdentify

Show events in all namespaces

kubectl events --all-namespacesIdentify
--all-namespacesIf present, list the requested object(s) across all namespaces. kubectl reference

Watch events in a specific namespace

kubectl events --watch --namespace namespaceIdentify
--watchAfter listing the requested events, watch for more events. kubectl reference
--namespaceIf present, the namespace scope for this CLI request kubectl reference

Show events for a pod in a specific namespace

kubectl events --for pod/pod_name --namespace namespaceIdentify
--forFilter events to only those pertaining to the specified resource. kubectl reference
--namespaceIf present, the namespace scope for this CLI request kubectl reference

Show events for a resource in a specific namespace

kubectl events --for resource/resource_name --namespace namespaceIdentify
--forFilter events to only those pertaining to the specified resource. kubectl reference
--namespaceIf present, the namespace scope for this CLI request kubectl reference

Show events for type Warning or Normal

kubectl events --types Warning,NormalIdentify
--typesOutput only events of given types. kubectl reference

Output events in YAML format

kubectl events --output yamlIdentify
--outputOutput format. kubectl reference