Skip to content

Commit

Permalink
Add partition to cluster creation
Browse files Browse the repository at this point in the history
Signed-off-by: d-kuro <[email protected]>
  • Loading branch information
d-kuro committed Aug 28, 2024
1 parent 0a52cbe commit 111de97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/designdoc/safe_statefulset_rolling_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ This document proposes to add a reconciler that dynamically sets `.partition` to

### When creating MySQLCluster

Until MySQLCluster successfully starts for the first time, applies StatefulSet without setting `.partition`.
This is done to prevent a situation where a user-corrected StatefulSet, due to misconfigurations like image issues, does not roll out due to partition.
When MySQLCluster is created, set the same value as `.spec.replicas` to `.partition` of StatefulSet in MutatingWebhook.

### When updating MySQLCluster

Expand Down

0 comments on commit 111de97

Please sign in to comment.