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

feat: integrate pod informer to federated informer manager #174

Conversation

limhawjia
Copy link
Collaborator

This PR integartes the old custom pod informer in FederatedClient into FederatedInformerManager. This is in preparation for the FederatedCluster controller refactor.

Additionally, FederatedInformerManager now also waits for an initial snapshot of clusters to be reconciled and their respective InformerManagers to be synced before returning true in its own HasSynced method. This reduces the amount of false errors on start-up where host InformerManager's view of FTCs is out of sync with the member InformerManagers' view.

@limhawjia limhawjia requested a review from gary-lgy July 24, 2023 03:28
@limhawjia limhawjia force-pushed the feat-integrate-pod-informer-to-federated-informer-manager branch 3 times, most recently from 1075524 to 44a53eb Compare July 27, 2023 03:12
@limhawjia limhawjia force-pushed the feat-integrate-pod-informer-to-federated-informer-manager branch from 44a53eb to 513a40d Compare July 27, 2023 03:21
@limhawjia limhawjia merged commit 513a40d into kubewharf:refactor/unified-federated-type Jul 28, 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.

1 participant