Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: informer-manager cache sync backoff #186

Conversation

limhawjia
Copy link
Collaborator

This introduces the use of a backoff when waiting for caches to sync for new informers in the InformerManager. This allows us to reduce the noise and processing of faulty informers. E.g. when a cluster is down or when a cluster does not have a CRD installed.

It also introduces a separate backoff for retries on success and retries on errors for the ReconcileWorker, which is used by the Federate controller.

@limhawjia limhawjia requested a review from gary-lgy August 1, 2023 09:50
@limhawjia limhawjia force-pushed the fix-informer-manager-cache-sync-wait branch from 6d5403f to 74fa3d1 Compare August 3, 2023 05:42
@limhawjia limhawjia force-pushed the fix-informer-manager-cache-sync-wait branch from 74fa3d1 to bbb2c0b Compare August 3, 2023 06:46
@limhawjia limhawjia merged commit b579ac5 into kubewharf:refactor/unified-federated-type Aug 3, 2023
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants