You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When controller makes queries with client.{Get,List} on resources
haven’t been declared upfront, controller-runtime will initialize an
informer on-the-fly and block on warming up its cache. This leads to
issues like:
* controller-runtime starting a watch for a resource type and start
caching all its objects in memory (even if you were trying to query
only one resource), potentially leading to the process running
out of memory.
* unpredictable reconciliation times while the informer cache is
syncing, during which your worker goroutine will be blocked from
reconciling other resources.
Signed-off-by: Bohdan Dobrelia <[email protected]>
0 commit comments