Giter Club home page Giter Club logo

Comments (5)

waseem-h avatar waseem-h commented on June 27, 2024 2

Here's how vmware does it in their fluentd operator: https://github.com/vmware/kube-fluentd-operator/blob/master/config-reloader/fluentd/reloader.go#L26

Basically we have to enable rpc endpoint for fluentfd as mentioned here: https://docs.fluentd.org/v1.0/articles/rpc#configuration

In general, we can add support for reloading applications via RPC endpoint

  • An application will contain annotation with the RPC endpoint to call
  • Instead of rolling update, we can call the RPC endpoint mentioned (in all pods)

from reloader.

mrmuli avatar mrmuli commented on June 27, 2024 1

I would also like to put in consideration for applications with required bootstrapping on start or restart. Unless this will be implemented towards very specifically defined apps or those running behind process managers. I'm not sure how this would work out, seems very diverse?

from reloader.

rasheedamir avatar rasheedamir commented on June 27, 2024

Yes it will be awesome to have this feature in place! e.g. in case of fluentd assume we have 50 nodes then it will take too much for rolling update of all pods in the daemonset; but if have restart of process then it will happen at sametime in all

from reloader.

grzesuav avatar grzesuav commented on June 27, 2024

Question : how it will guarantee HA of application? Will it respect deployment settings during restarting?

from reloader.

ankon avatar ankon commented on June 27, 2024

We're using https://github.com/weaveworks/watch for this purpose:

  1. Mount the configmap as volume into a side-car running watch
  2. Watch the mount point/files in it
  3. Trigger the reload by issueing a curl command to the actual app

from reloader.

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.