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

Resync operation more frequent than expected #6

Closed
edahlseng opened this issue Oct 31, 2018 · 2 comments
Closed

Resync operation more frequent than expected #6

edahlseng opened this issue Oct 31, 2018 · 2 comments

Comments

@edahlseng
Copy link

Thank you for this project (and the associated blog post)! It's been very helpful as I get up to speed with Kubernetes.

I recently deployed this project to a Kubernetes cluster, but upon viewing the logs noticed that the UpdateFunc is being called every 2-5 seconds, even though the shared informer factory is configured with a resync period of time.Minute. Do you know why this is happening? I'm still learning with Kubernetes and I haven't been able to figure out what the cause for this is.

@calebdoxsey
Copy link
Owner

Hi @edahlseng

I've also noticed this, which is why I put into the de-bounce cache. I think it might have to do with a property on the node changing: kubernetes/kubernetes#44879. So I guess its working as designed.

@edahlseng
Copy link
Author

Ah, interesting! Thanks for linking to that issue. Makes sense now!

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

No branches or pull requests

2 participants