Reloader icon indicating copy to clipboard operation
Reloader copied to clipboard

add the ability to call a config refresh endpoint instead of triggering a rolling deployment.

Open raffaelespazzoli opened this issue 4 years ago • 2 comments

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.

raffaelespazzoli avatar Oct 25 '21 15:10 raffaelespazzoli

Hello, Second that. Is it possible to implement such functionality?

andrelcz avatar Jan 17 '22 12:01 andrelcz

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.

vinzent avatar Jun 10 '22 10:06 vinzent