Skip to content

fix(discovery): list and watch loop without backoff when every watch gets 410 Gone #181

Description

@lexfrei

The Kubernetes provider can hammer the API server with LIST requests. After a successful re-list it resets the backoff counter and opens a new watch right away. If the server answers every new watch with 410 Gone at once, the provider repeats list and watch with no delay. The reset came with a09adab.

Fixed in #177. The counter is now reset only when the watch that ended in 410 was open for at least 30s; otherwise the provider waits the backoff.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions