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
KubectlCmd calls that require GVK info instantiate and use a one-off discovery client. Fixing that will require a bigger refactor, so I left it for later.
It was discovered in #449 (comment) that controller was making 1M api calls to perform discovery.
The client-go does seem to provide a cached discovery option, but based on evidence of API calls, we may not be taking advantage of it
https://pkg.go.dev/k8s.io/client-go/discovery#CachedDiscoveryInterface
The text was updated successfully, but these errors were encountered: