Comments (8)
it's possible to get a non-caching client, just not easy. We should have a convenience function to make it easy.
from controller-runtime.
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.
from controller-runtime.
@DirectXMan12 I think we can close this with #327
from controller-runtime.
cc: @DirectXMan12 @droot
from controller-runtime.
also here: #180
I suggest
- using manager.GetCache for call that need caching(we can delegate to direct read for unstructured resources)
- make manager.GetClient always read without caching.
from controller-runtime.
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
from controller-runtime.
/priority important-longterm
from controller-runtime.
yep!
from controller-runtime.
Related Issues (20)
- CreateOrUpdate ergonomics in presence of defaults HOT 3
- adding opts for WatchFunc in informers HOT 1
- 🐛 Webhook builder allows passing in more than one `For` type which gets overridden by the last type.
- Go Version Format is incorrect HOT 3
- github.com/prometheus/common v0.48.0 is incompatible with Kubernetes HOT 4
- Allow modifying context per `Reconcile(ctx context.Context, req ctrl.Request)` HOT 3
- Incompatibility Issue with controller-runtime Version Pinning and envtest Setup - It is requiring go 1.22 when the latest release still using go 1.21 as old project versions HOT 3
- Unstructured converter panics if the destination struct contains private fields HOT 3
- Multi Cluster Example / Pattern HOT 9
- Panic in `runnableGroup`'s `Add` and `StopAndWait` due to a data race HOT 1
- Cannot run / install specific versions of setup-envtest due to missing submodule tag HOT 2
- Data race during manager shutdown HOT 4
- Add a validation script to verify go.mod is in sync with k/k HOT 3
- Enhancement of Authentication and Authorization Filters to Allow Custom Configurations and Stability Improvements HOT 4
- Data race with various client APIs HOT 3
- Allow to ignore globalPredicates for specific resources HOT 1
- Undefined SwitchMetric Error with client-go 0.30.0 in Go Vet HOT 9
- Use setup-envtest from (test) code HOT 18
- Semantic version is incorrect for setup-envtest HOT 3
- Default Liveness and Readiness endpoints return 404
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from controller-runtime.