diff --git a/apis/apps/v1alpha1/collaset_types.go b/apis/apps/v1alpha1/collaset_types.go index efbf9e14..1e2d33ed 100644 --- a/apis/apps/v1alpha1/collaset_types.go +++ b/apis/apps/v1alpha1/collaset_types.go @@ -162,7 +162,7 @@ type PersistentVolumeClaimRetentionPolicy struct { } type ByPartition struct { - // Partition controls the update progress by indicating how many pods should be updated. + // Partition controls the number of pods in old revisions. // Defaults to nil (all pods will be updated) // +optional Partition *int32 `json:"partition,omitempty"` diff --git a/config/crd/bases/apps.kusionstack.io_collasets.yaml b/config/crd/bases/apps.kusionstack.io_collasets.yaml index ef973d1a..66546a96 100644 --- a/config/crd/bases/apps.kusionstack.io_collasets.yaml +++ b/config/crd/bases/apps.kusionstack.io_collasets.yaml @@ -227,9 +227,8 @@ spec: controlled by partition value. properties: partition: - description: Partition controls the update progress by - indicating how many pods should be updated. Defaults - to nil (all pods will be updated) + description: Partition controls the number of pods in + old revisions. Defaults to nil (all pods will be updated) format: int32 type: integer type: object