GithubHelp home page GithubHelp logo

Comments (2)

enisoc avatar enisoc commented on September 25, 2024

DecoratorController doesn't let you modify status because your changes would be overwritten anyway by the real Service controller. The Kubernetes controller model allows multiple users/clients/controllers to collaboratively edit spec, but status is completely owned by only one canonical controller for a given resource.

The usual way to plug in an implementation for type: LoadBalancer is through the cloudprovider interface. Unfortunately, this plug-in mechanism is not designed around controllers. Since the Service controller code interacts with the LoadBalancer implementation through compiled-in function calls, rather than through declarative API objects, there's not a perfect way for Metacontroller to help here short of replacing the Service controller entirely.

If the only reason you need to update status is to communicate the external IP to users, you could put that info in an annotation. It's not ideal because you'd need to tell users to look in a different place than usual, but that might be acceptable depending on your use case.

from metacontroller.

gurvindersingh avatar gurvindersingh commented on September 25, 2024

Thanks for your reply. I can discuss with our team the use of annotations for info rather than status. As that will help in reducing our code size.

from metacontroller.

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.