Skip to content

Dynamic namespace filtering #2820

@yann-soubeyrand

Description

@yann-soubeyrand

What would you like to be added:

It could be great to have an option to dynamically filter the namespaced resources.

Why is this needed:

Having a static namespaces option is good, but it forces one to re-configure KSM each time metrics for a new namespace are needed.

Describe the solution you'd like:

I’d like to be able to configure a namespace label selector, so that KSM can dynamically discover namespaces based on labels and emit metrics only for objects in these namespaces.

Additional context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions