@@ -4362,6 +4362,47 @@ spec:
4362
4362
- whenUnsatisfiable
4363
4363
type: object
4364
4364
type: array
4365
+ updateStrategy:
4366
+ description: |-
4367
+ StarRocksCluster use StatefulSet to deploy FE/BE/CN components.
4368
+ UpdateStrategy indicates the StatefulSetUpdateStrategy that will be
4369
+ employed to update Pods in the StatefulSet when a revision is made to
4370
+ Template. See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#rolling-updates for more details.
4371
+ Note: The maxUnavailable field is in Alpha stage and it is honored only by API servers that are running with the
4372
+ MaxUnavailableStatefulSet feature gate enabled.
4373
+ properties:
4374
+ rollingUpdate:
4375
+ description: RollingUpdate is used to communicate parameters
4376
+ when Type is RollingUpdateStatefulSetStrategyType.
4377
+ properties:
4378
+ maxUnavailable:
4379
+ anyOf:
4380
+ - type: integer
4381
+ - type: string
4382
+ description: |-
4383
+ The maximum number of pods that can be unavailable during the update.
4384
+ Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
4385
+ Absolute number is calculated from percentage by rounding up. This can not be 0.
4386
+ Defaults to 1. This field is alpha-level and is only honored by servers that enable the
4387
+ MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to
4388
+ Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it
4389
+ will be counted towards MaxUnavailable.
4390
+ x-kubernetes-int-or-string: true
4391
+ partition:
4392
+ description: |-
4393
+ Partition indicates the ordinal at which the StatefulSet should be partitioned
4394
+ for updates. During a rolling update, all pods from ordinal Replicas-1 to
4395
+ Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched.
4396
+ This is helpful in being able to do a canary based deployment. The default value is 0.
4397
+ format: int32
4398
+ type: integer
4399
+ type: object
4400
+ type:
4401
+ description: |-
4402
+ Type indicates the type of the StatefulSetUpdateStrategy.
4403
+ Default is RollingUpdate.
4404
+ type: string
4405
+ type: object
4365
4406
type: object
4366
4407
starRocksCnSpec:
4367
4408
description: StarRocksCnSpec define cn configuration for start cn
@@ -9283,6 +9324,47 @@ spec:
9283
9324
- whenUnsatisfiable
9284
9325
type: object
9285
9326
type: array
9327
+ updateStrategy:
9328
+ description: |-
9329
+ StarRocksCluster use StatefulSet to deploy FE/BE/CN components.
9330
+ UpdateStrategy indicates the StatefulSetUpdateStrategy that will be
9331
+ employed to update Pods in the StatefulSet when a revision is made to
9332
+ Template. See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#rolling-updates for more details.
9333
+ Note: The maxUnavailable field is in Alpha stage and it is honored only by API servers that are running with the
9334
+ MaxUnavailableStatefulSet feature gate enabled.
9335
+ properties:
9336
+ rollingUpdate:
9337
+ description: RollingUpdate is used to communicate parameters
9338
+ when Type is RollingUpdateStatefulSetStrategyType.
9339
+ properties:
9340
+ maxUnavailable:
9341
+ anyOf:
9342
+ - type: integer
9343
+ - type: string
9344
+ description: |-
9345
+ The maximum number of pods that can be unavailable during the update.
9346
+ Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
9347
+ Absolute number is calculated from percentage by rounding up. This can not be 0.
9348
+ Defaults to 1. This field is alpha-level and is only honored by servers that enable the
9349
+ MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to
9350
+ Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it
9351
+ will be counted towards MaxUnavailable.
9352
+ x-kubernetes-int-or-string: true
9353
+ partition:
9354
+ description: |-
9355
+ Partition indicates the ordinal at which the StatefulSet should be partitioned
9356
+ for updates. During a rolling update, all pods from ordinal Replicas-1 to
9357
+ Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched.
9358
+ This is helpful in being able to do a canary based deployment. The default value is 0.
9359
+ format: int32
9360
+ type: integer
9361
+ type: object
9362
+ type:
9363
+ description: |-
9364
+ Type indicates the type of the StatefulSetUpdateStrategy.
9365
+ Default is RollingUpdate.
9366
+ type: string
9367
+ type: object
9286
9368
type: object
9287
9369
starRocksFeProxySpec:
9288
9370
description: StarRocksLoadSpec define a proxy for fe.
@@ -15074,6 +15156,47 @@ spec:
15074
15156
- whenUnsatisfiable
15075
15157
type: object
15076
15158
type: array
15159
+ updateStrategy:
15160
+ description: |-
15161
+ StarRocksCluster use StatefulSet to deploy FE/BE/CN components.
15162
+ UpdateStrategy indicates the StatefulSetUpdateStrategy that will be
15163
+ employed to update Pods in the StatefulSet when a revision is made to
15164
+ Template. See https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#rolling-updates for more details.
15165
+ Note: The maxUnavailable field is in Alpha stage and it is honored only by API servers that are running with the
15166
+ MaxUnavailableStatefulSet feature gate enabled.
15167
+ properties:
15168
+ rollingUpdate:
15169
+ description: RollingUpdate is used to communicate parameters
15170
+ when Type is RollingUpdateStatefulSetStrategyType.
15171
+ properties:
15172
+ maxUnavailable:
15173
+ anyOf:
15174
+ - type: integer
15175
+ - type: string
15176
+ description: |-
15177
+ The maximum number of pods that can be unavailable during the update.
15178
+ Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
15179
+ Absolute number is calculated from percentage by rounding up. This can not be 0.
15180
+ Defaults to 1. This field is alpha-level and is only honored by servers that enable the
15181
+ MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to
15182
+ Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it
15183
+ will be counted towards MaxUnavailable.
15184
+ x-kubernetes-int-or-string: true
15185
+ partition:
15186
+ description: |-
15187
+ Partition indicates the ordinal at which the StatefulSet should be partitioned
15188
+ for updates. During a rolling update, all pods from ordinal Replicas-1 to
15189
+ Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched.
15190
+ This is helpful in being able to do a canary based deployment. The default value is 0.
15191
+ format: int32
15192
+ type: integer
15193
+ type: object
15194
+ type:
15195
+ description: |-
15196
+ Type indicates the type of the StatefulSetUpdateStrategy.
15197
+ Default is RollingUpdate.
15198
+ type: string
15199
+ type: object
15077
15200
type: object
15078
15201
type: object
15079
15202
status:
0 commit comments