redis-operator icon indicating copy to clipboard operation
redis-operator copied to clipboard

Support changing updateStrategy

Open devkmsg opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Add support to set the .spec.updateStrategy.type on the StatefulSet to better control uptime when making changes. For example when changing the resource request/limit I would like to be able to set .spec.updateStrategy.type to OnDelete to have control over when pods go down so that I can ensure a primary and replica aren't terminated at the same time incurring data loss.

Describe alternatives you've considered

What version of redis-operator are you using? redis-operator version: 0.11.0

Additional context

devkmsg avatar Sep 01 '22 19:09 devkmsg