Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apis/apps/v1/componentdefinition_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1910,6 +1910,9 @@ type Action struct {
// suitable for long-running Actions, such as data migration, rebalancing, or
// draining, whose duration depends on data volume or runtime conditions.
//
// Non-blocking mode can be enabled only for Action fields that explicitly
// document support for it.
//
// This field cannot be updated.
//
// +kubebuilder:default=false
Expand Down
8 changes: 8 additions & 0 deletions apis/apps/v1/shardingdefinition_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ type ShardingLifecycleActions struct {
//
// - KB_ADD_SHARD_NAME: The name of the shard being added.
//
// This Action supports both blocking and non-blocking modes. KubeBlocks does
// not finish adding the shard until the Action has succeeded on every
// selected target shard and Pod.
//
// Note: This field is immutable once it has been set.
//
// +optional
Expand All @@ -206,6 +210,10 @@ type ShardingLifecycleActions struct {
//
// - KB_REMOVE_SHARD_NAME: The name of the shard being removed.
//
// This Action supports both blocking and non-blocking modes. KubeBlocks does
// not remove the shard until the Action has succeeded on every selected
// target shard and Pod.
//
// Note: This field is immutable once it has been set.
//
// +optional
Expand Down
6 changes: 6 additions & 0 deletions config/crd/bases/apps.kubeblocks.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -11904,6 +11907,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down
45 changes: 45 additions & 0 deletions config/crd/bases/apps.kubeblocks.io_componentdefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4093,6 +4093,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -4705,6 +4708,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -5155,6 +5161,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
periodSeconds:
Expand Down Expand Up @@ -5621,6 +5630,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -6070,6 +6082,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -6522,6 +6537,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -6976,6 +6994,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -7420,6 +7441,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -7864,6 +7888,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -8308,6 +8335,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -8754,6 +8784,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -9192,6 +9225,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -9679,6 +9715,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
periodSeconds:
Expand Down Expand Up @@ -10145,6 +10184,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -18313,6 +18355,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down
6 changes: 6 additions & 0 deletions config/crd/bases/apps.kubeblocks.io_components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -997,6 +1000,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down
12 changes: 12 additions & 0 deletions config/crd/bases/apps.kubeblocks.io_rollouts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -966,6 +969,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -3900,6 +3906,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -4357,6 +4366,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down
20 changes: 20 additions & 0 deletions config/crd/bases/apps.kubeblocks.io_shardingdefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -885,6 +888,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -996,6 +1002,10 @@ spec:

- KB_ADD_SHARD_NAME: The name of the shard being added.

This Action supports both blocking and non-blocking modes. KubeBlocks does
not finish adding the shard until the Action has succeeded on every
selected target shard and Pod.

Note: This field is immutable once it has been set.
properties:
exec:
Expand Down Expand Up @@ -1343,6 +1353,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -1454,6 +1467,10 @@ spec:

- KB_REMOVE_SHARD_NAME: The name of the shard being removed.

This Action supports both blocking and non-blocking modes. KubeBlocks does
not remove the shard until the Action has succeeded on every selected
target shard and Pod.

Note: This field is immutable once it has been set.
properties:
exec:
Expand Down Expand Up @@ -1801,6 +1818,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down
6 changes: 6 additions & 0 deletions config/crd/bases/apps.kubeblocks.io_sidecardefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -2359,6 +2362,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down
9 changes: 9 additions & 0 deletions config/crd/bases/workloads.kubeblocks.io_instances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -1880,6 +1883,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down Expand Up @@ -2316,6 +2322,9 @@ spec:
suitable for long-running Actions, such as data migration, rebalancing, or
draining, whose duration depends on data volume or runtime conditions.

Non-blocking mode can be enabled only for Action fields that explicitly
document support for it.

This field cannot be updated.
type: boolean
preCondition:
Expand Down
Loading
Loading