Skip to content

[P2] event-exporter: add field selector support for events #1033

@erain

Description

@erain

Problem

Filtering is limited to label selectors. There is no way to reduce event volume by field selectors (e.g., type=Warning, involvedObject.kind=Pod), which is a common operational need in large clusters.

Proposed optimization

Add configuration for ListOptions.FieldSelector in the event watcher to allow server-side filtering. This reduces API load and export volume for users who only need a subset of events.

Notes / references

Acceptance criteria

  • New flag or config option to set field selector for events.
  • Field selector applied to both list and watch requests.
  • Documentation updated with examples (e.g., type=Warning).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions