machine reconcile more frequently than expected. #10862
-
In my machine's Reconcile function, I have
I expect machine reconciliation happens once every 60 seconds, but it actually happens three times a second, for a single machine. It seems that the request is enqueued immediately, rather than in 60 seconds. The only place I can see that might enqueue the request is in MyMachine.SetupWithManager where we add two watches.
but I don't know how to validate it. Is there a way for me to see who enqueues reconciliation requests? Any help/suggestion is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You get reconcile requests whenever mymachine, machine or mycluster update events occur. You can add logging to the map funcs if you want |
Beta Was this translation helpful? Give feedback.
Got it. I can see continuous output from
Thank you very much @sbueringer.