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

Reduce informer sync interval to default 10h #162

Merged
merged 1 commit into from
May 3, 2024

Conversation

jabdoa2
Copy link
Contributor

@jabdoa2 jabdoa2 commented May 2, 2024

Wave sets a default informer sync interval of 5m. Prior to 0.7 this has been needed to catch changes in configmaps/secrets which were created after the deployment. We actually used 1m before which cause a lot of stress on the API server.

Luckily, this is no longer needed. I reduced it to the controller default of 10h.
Guess this issue comment explains it well: kubernetes-sigs/controller-runtime#521 (comment). Since we do not need any periodoc reconcile (anymore) we should reduce it accordingly.

I updated the README to make clear that you probably should not change this unless you run into bugs with stale resources.

@jabdoa2 jabdoa2 requested a review from a team as a code owner May 2, 2024 20:30
@toelke toelke merged commit 0085b96 into wave-k8s:master May 3, 2024
6 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.

2 participants