wave-k8s / wave

Kubernetes configuration tracking controller
Apache License 2.0
646 stars 82 forks source link

Configure wave to only restart pods within a certain time frame #80

Closed cgunston closed 4 months ago

cgunston commented 4 years ago

Hi all

Firstly thank you for a great tool, we are looking to implement this within our organisation shortly.

However, we did have one main feature request. Would it be possible to only restart a pod within a given time frame? For example only restart pods between 03:00 - 04:00. This would allow us to set restarts to be outside of our core service hours and minimize downtime for our customers.

Thanks Callum

mthssdrbrg commented 4 years ago

I suppose it would be possible to have an annotation that specifies a time frame (I've seen similar approaches in other projects), and have Wave requeue the request until appropriate (or somehow keep track of what needs to be restarted and when).

It's probably do-able but not something that we have the need for currently.

github-actions[bot] commented 3 years ago

This issue has been inactive for 60 days. If the issue is still relevant please comment to re-activate the issue. If no action is taken within 7 days, the issue will be marked closed.