dragonflydb / dragonfly-operator

A Kubernetes operator to install and manage Dragonfly instances.
https://www.dragonflydb.io/docs/managing-dragonfly/operator/installation
Apache License 2.0
132 stars 28 forks source link

fix(rollout): Update rollout strategy to be `OnDelete` #59

Closed Pothulapati closed 1 year ago

Pothulapati commented 1 year ago

Fixes https://github.com/dragonflydb/dragonfly-operator/issues/48

This commit updates the statefulset's upgrade strategy to be OnDelete which means that the statefulset will not be automatically upgraded when the pod template changes. Instead, The Operator will delete each pod in the statefulset one at a time. This gives us the following benefits: