Git Product home page Git Product logo

Comments (8)

DirectXMan12 avatar DirectXMan12 commented on July 30, 2024 2

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.

mengqiy avatar mengqiy commented on July 30, 2024 2

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.

shawn-hurley avatar shawn-hurley commented on July 30, 2024 1

@DirectXMan12 I think we can close this with #327

from controller-runtime.

mengqiy avatar mengqiy commented on July 30, 2024

cc: @DirectXMan12 @droot

from controller-runtime.

M00nF1sh avatar M00nF1sh commented on July 30, 2024

also here: #180

I suggest

  1. using manager.GetCache for call that need caching(we can delegate to direct read for unstructured resources)
  2. make manager.GetClient always read without caching.

from controller-runtime.

zjj2wry avatar zjj2wry commented on July 30, 2024

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.

DirectXMan12 avatar DirectXMan12 commented on July 30, 2024

/priority important-longterm

from controller-runtime.

DirectXMan12 avatar DirectXMan12 commented on July 30, 2024

yep!

from controller-runtime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.