File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,16 @@ spec:
176176 their place. Once the new pods are available, it then proceeds onto other
177177 StorageCluster pods, thus ensuring that at least 70% of original number of
178178 StorageCluster pods are available at all times during the update.
179+ disruption :
180+ type : object
181+ description : >-
182+ The default behavior is non-disruptive upgrades. This setting disables the default
183+ non-disruptive upgrades and reverts to the previous behavior of upgrading nodes in
184+ parallel without worrying about disruption.
185+ properties :
186+ allow :
187+ type : boolean
188+ description : Flag indicates whether updates are non-disruptive or disruptive.
179189 deleteStrategy :
180190 type : object
181191 description : Delete strategy to uninstall and wipe the storage cluster.
Original file line number Diff line number Diff line change @@ -309,6 +309,17 @@ type RollingUpdateStorageCluster struct {
309309 // Defaults to 0 (pod will be considered available as soon as it is ready)
310310 // +optional
311311 MinReadySeconds int32 `json:"minReadySeconds,omitempty"`
312+
313+ // The default behavior is non-disruptive upgrades. This setting disables the default
314+ // non-disruptive upgrades and reverts to the previous behavior of upgrading nodes in
315+ // parallel without worrying about disruption.
316+ Disruption DisruptionSpec `json:"disruption,omitempty"`
317+ }
318+
319+ // DisruptionSpec contains disruption details
320+ type DisruptionSpec struct {
321+ // Flag indicates whether updates are non-disruptive or disruptive.
322+ Allow * bool `json:"allow,omitempty"`
312323}
313324
314325// StorageClusterDeleteStrategyType is enum for storage cluster delete strategies
You can’t perform that action at this time.
0 commit comments