Skip to content

Conversation

girdharagrawalbro
Copy link

@girdharagrawalbro girdharagrawalbro commented Oct 16, 2025

Adds documentation for kubectl events command.

Examples included:

  • List all events
  • Watch events in real-time
  • Filter by namespace
  • Filter by field selector
  • Sort by timestamp
  • Output in different formats

#17606

@github-actions github-actions bot added new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers. labels Oct 16, 2025
@dmmqz dmmqz mentioned this pull request Oct 16, 2025
43 tasks

- List events for all namespaces:

`kubectl events --all-namespaces`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`kubectl events --all-namespaces`
`kubectl events {{[-A|--all-namespaces]}}`


- List events for a specific namespace:

`kubectl events --namespace {{namespace_name}}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`kubectl events --namespace {{namespace_name}}`
`kubectl events {{[-n|--namespace]}} {{namespace_name}}`


- Watch for new events in real-time:

`kubectl events --watch`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`kubectl events --watch`
`kubectl events {{[-w|--watch]}}`

@Managor Managor mentioned this pull request Oct 17, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new command Issues requesting creation of a new page or PRs adding a new page for a command. review needed Prioritized PRs marked for reviews from maintainers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants