Giter Club home page Giter Club logo

Comments (6)

leovct avatar leovct commented on September 25, 2024 1

@leovct , Oh ok. Thank you so much. One small query.. Getting this error while running make manifests

/bin/controller-gen: Permission denied

Any suggestions please?

Your welcome! 🙂

Check the permissions of the controller-gen binary, you might need to run something like chmod +x /bin/controller-gen.

from kube-operator-tutorial.

leovct avatar leovct commented on September 25, 2024

Hello,

If we restart a controller, does it still watch the existing objects or reconciliation happens while creating a new object only.

If not, is there any way to force reconciliation on restart of controller.

Thank you

That's a great question! Yes, the controller will watch the existing objects as well as the new ones. You can either restart or even delete and re-create the controller, the controller will still watch existing objects.

from kube-operator-tutorial.

tanulbh avatar tanulbh commented on September 25, 2024

@leovct Thank you so much 😃

from kube-operator-tutorial.

tanulbh avatar tanulbh commented on September 25, 2024

@leovct, Do we have to specifically write any code for that, or reconciliation happens on its own with restart of controller.

from kube-operator-tutorial.

leovct avatar leovct commented on September 25, 2024

@leovct, Do we have to specifically write any code for that, or reconciliation happens on its own with restart of controller.

You don't need to write any code for that. Actually what happens is that when you restart the controller, for every existing custom resource (that your controller is responsible for), it will trigger a creation event and thus a reconciliation loop. It's possible to filter these events later if you don't want this kind of behaviour and that's a topic I want to explore in my next article 😊

from kube-operator-tutorial.

tanulbh avatar tanulbh commented on September 25, 2024

@leovct , Oh ok. Thank you so much. One small query.. Getting this error while running make manifests
/bin/controller-gen: Permission denied
Any suggestions please?

from kube-operator-tutorial.

Related Issues (3)

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.