Skip to content

Consider using informers to watch k8s resources rather than listing #161

Open

Description

@cbroglie

The client-go informers package provides utilities to subscribe to changes to k8s resources and keep an in-memory cache up to date. This avoids needing to ask the API server to fetch the list from etcd every refresh interval, and allows probes to always operate on fresh data.

If there's interest, I'd be happy to submit a PR with the necessary changes.

Activity

  1. added
    enhancement
    on Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions