-
Notifications
You must be signed in to change notification settings - Fork 16
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
Metac constantly updating child objects #152
Comments
After adding status subresource, did you deleted and recreated all CR's ? |
I did not. But I restarted metac, thought It is stateless. Will try it, thanks. |
I recreated all CR's with But that didn't help, unfortunately. |
Figured out the problem. For some reason I though that passing ResyncPeriodSeconds = 0 would result in infinite resync interval. But I was wrong. Changed my hook to pass it as null and constant updates stopped. |
That wasn't so simple :) Although there was mistakes from my side regarding parentLabels, there are still some issues I'd like to mention.
|
…Equal again Signed-off-by: Artem Dvoretskii <[email protected]>
hi @adwski , some questions :
can you elaborate a bit, not sure what you have in mind.
hmm it might be, but changing If it is not a problem can you put here examples ? I would like to check it, some of thing you mentioned can be caused by serialization, for some (4.) I guess it would be good to have mitigation, but maybe by excluding Cheers :) |
also, for 4. I created metacontroller/metacontroller#155 some time ago , but didn't started looking at this. In general sometimes the exact thing you want to change are |
Question.
Metac is constantly updating child objects of each custom resource, disregarding resync interval. What could be done to stop it? With decent amount of CR objects it becomes very slow.
I could only find one possible cause about missing status subresource, but adding it did not solve the problem.
Version: quay.io/amitkumardas/metac:v0.4.0
K8s version: v1.16.15
CRD example:
The text was updated successfully, but these errors were encountered: