Skip to content

[BUG] KB v1.0.2 instanceUpdateStrategy/rollingUpdate/replicas no longer limit the updated pods #10641

Description

@AndyEWang

Describe the bug
The replicas field in KB v1.0.1 can work like sts partition and control which pods can be updated. But after v1.0.2,all pods are updated with replicas specified.
// RollingUpdate specifies how the rolling update should be applied. type RollingUpdate struct { // Indicates the number of instances that should be updated during a rolling update. // **_The remaining instances will remain untouched_**. This is helpful in defining how many instances // should participate in the update process. // Value can be an absolute number (ex: 5) or a percentage of desired instances (ex: 10%). // Absolute number is calculated from percentage by rounding up. // The default value is ComponentSpec.Replicas (i.e., update all instances). // // +optional Replicas *intstr.IntOrStringjson:"replicas,omitempty"

To Reproduce
Steps to reproduce the behavior:

  1. install kb v1.0.2
  2. install any clusters with instanceUpdateStrategy/rollingUpdate/replicas < total pod count
  3. all pods are updated

Expected behavior
only pods count by instanceUpdateStrategy/rollingUpdate/replicas are updated

Screenshots
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION kubeblocks kb-system 4 2026-06-22 14:01:09.674018508 +0800 CST deployed kubeblocks-1.0.2 1.0.2

Desktop (please complete the following information):

  • Version v1.0.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions