Comments (5)
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.
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.
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.
Question : how it will guarantee HA of application? Will it respect deployment settings during restarting?
from reloader.
We're using https://github.com/weaveworks/watch for this purpose:
- Mount the configmap as volume into a side-car running watch
- Watch the mount point/files in it
- Trigger the reload by issueing a curl command to the actual app
from reloader.
Related Issues (20)
- Argo Rollouts blue/green strategy and replicaset ScaleDown issue HOT 3
- [ENHANCE] Re-evaluate using hashes to store secrets for comparisons during upgrade HOT 1
- [BUG] The deployment "reloader-reloader" is invalid HOT 15
- [BUG] Helm labels and annotations are re-added to K8s manifests built with Kustomize due to update artifacts CI HOT 1
- [ENHANCE] Rolling update when deleting an optional ConfigMap / Secret HOT 2
- Add seccompProfile type to default securityContext HOT 1
- [BUG] New pods shortly deleted, and the old pods remains. ArgoCD HOT 11
- [ENHANCE] Allow Reloader to support CRD reloads HOT 3
- [ENHANCE] Set log level HOT 1
- Pipeline sometimes fails at the "Commit Files" step which prevents Release from being created unless manual intervention is done HOT 6
- [ENHANCE]Define memory request and memory limit for reloder-reloader container HOT 4
- [BUG] reload after controller was down does not occur HOT 1
- [BUG] Recent CI authored auto-releases are broken! HOT 11
- [BUG] Image default tag in 1.0.89 set as "vv1.0.89" instead of v1.0.89 HOT 1
- [BUG] GIt modules is using ssh url for theme submodule HOT 5
- namespace selector isn't working @help/Kind HOT 2
- Question: how do I decide between auto, reload, and search/match? HOT 2
- [BUG]- All Pods restart irrespective of liveness check status or rolling update strategy HOT 5
- [BUG] Latest version 1.0.99 isn't available in Helm repo HOT 4
- Race Condition Between Deployment Update and ConfigMap Change HOT 2
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 reloader.