-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Non-caching client #144
Comments
cc: @DirectXMan12 @droot |
it's possible to get a non-caching client, just not easy. We should have a convenience function to make it easy. |
Another scenario to use a non-caching client is that people may want to avoid having a huge cache locally by using a non-caching client. |
also here: #180 I suggest
|
I encountered the same problem when using v0.1.1, the client also gets data from the cache is confusing https://github.com/kubernetes-sigs/controller-runtime/blob/v0.1.1/pkg/manager/manager.go#L149 |
/priority important-longterm |
@DirectXMan12 I think we can close this with #327 |
yep! |
We already provide a caching client for controller.
As @pwittrock pointed out, we should provide a no caching client. Because if the cache becomes out-of-date, the admission webhook may make wrong decision based on stale objects. A no-caching client may be helpful in this case.
The text was updated successfully, but these errors were encountered: