Reloader
Reloader copied to clipboard
add the ability to call a config refresh endpoint instead of triggering a rolling deployment.
some application can be informed that they need to reload their configuration by calling an endpoint.
for spring applications the standard endpoint is at /actuator/refresh. Refreshing properties this way is less traumatic than triggering a rolling deployment.
Also old-style unix services usually can be force to reread the configuration file on receiving SIGHUP.
Please consider adding support for this kinds of approaches (the http request based is probably easier) to this operator.
Hello, Second that. Is it possible to implement such functionality?
Calling a HTTP endpoint is possible by this widely used image: https://github.com/jimmidyson/configmap-reload . Needs to run inside your pod. it doesnt implement signalling (SIHUP) a process.