I have the following scenario:
- A StatefulSet with 1 replica
- Update the template section and scale it in the same operation using helm as application manager
- The order of operation is the following:
- Scaling to 3
- Update the replica with name 0
Because I cannot control to first update and after that scale, I am losing data because there is a specific logic in the new statefulset template.
Is there a way to control the ordering of those operations?
The service in question is Redis, we are trying to get from standalone mode (1 replica) to replication(HA) without losing data.