Reloader icon indicating copy to clipboard operation
Reloader copied to clipboard

Possible to wait n time before reload occurs

Open retr0h opened this issue 2 years ago • 5 comments

Is it possible for the reloader to wait n time before issuing the reload of a deployment?

retr0h avatar Jun 30 '23 20:06 retr0h

What is the use case?

karl-johan-grahn avatar Jun 30 '23 20:06 karl-johan-grahn

I just stumbled upon this issue and I personally have two viewpoints on this matter. On the one hand I want to have configuration changes made available as fast as possible in my workload. On the other hand I might have some use cases that are not so time sensitive like tls cert renewal or similar. In this case it could be nice to configure s.th. like a time window to postpone the reload to a time with less traffic.

kgorskowski avatar Jul 25 '23 11:07 kgorskowski

Extending to this, will be nice to have functionality like defining maintenance window and perform reload in that period only.

debugger24 avatar Oct 30 '23 18:10 debugger24

What is the use case?

We have an API endpoint that we wish to restart when a config map changes, as the config map contains env vars mounted into the deployment. However, this api endpoint is responsible for updating many config maps across the system, one of which is the one it's mounting, therefore reloader will restart it, before it's able to complete it's job.

Having a delay before restart would be nice.

retr0h avatar Mar 06 '24 20:03 retr0h