Skip to content

[Features] Stateless components should support the maxSurge setting for rolling updates. #9393

Description

@groobyming

What is the user interaction of your feature
At present, ​​KubeBlocks​​ only supports ​​maxUnavailable​​ and ​​partition​​ in the ​​instanceUpdateStrategy​​ for component instances. However, for ​​stateless components​​ (e.g., ​​VictoriaMetrics' VmSelect​​), it is generally recommended to configure ​​maxSurge​​ during updates to ensure ​​service stability​​.

Is your feature request related to a problem? Please describe.
Stateless components do not support the maxSurge configuration.

In previous versions of the documentation, I found that within the clusterDefinition's ClusterComponentDefinition, one could configure the workloadType and then set the maxSurge and maxUnavailable properties under updateStrategy via statelessSpec. However, in later versions, it seems this configuration is no longer supported. Could you clarify why this change was made?

https://kubeblocks.io/docs/release-0_9/user_docs/developer/api-reference/cluster#apps.kubeblocks.io/v1alpha1.StatelessSetSpec

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions