Skip to content

Commit

Permalink
chore: remove incorrect comments for the offlineInstances field (#8899)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyelei authored Feb 10, 2025
1 parent 1b5216c commit e9bb3a7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
2 changes: 0 additions & 2 deletions apis/apps/v1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,6 @@ type ClusterComponentSpec struct {
//
// Setting instances to offline allows for a controlled scale-in process, preserving their data and maintaining
// ordinal consistency within the Cluster.
// Note that offline instances and their associated resources, such as PVCs, are not automatically deleted.
// The administrator must manually manage the cleanup and removal of these resources when they are no longer needed.
//
// +optional
OfflineInstances []string `json:"offlineInstances,omitempty"`
Expand Down
4 changes: 0 additions & 4 deletions config/crd/bases/apps.kubeblocks.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3827,8 +3827,6 @@ spec:

Setting instances to offline allows for a controlled scale-in process, preserving their data and maintaining
ordinal consistency within the Cluster.
Note that offline instances and their associated resources, such as PVCs, are not automatically deleted.
The administrator must manually manage the cleanup and removal of these resources when they are no longer needed.
items:
type: string
type: array
Expand Down Expand Up @@ -12580,8 +12578,6 @@ spec:

Setting instances to offline allows for a controlled scale-in process, preserving their data and maintaining
ordinal consistency within the Cluster.
Note that offline instances and their associated resources, such as PVCs, are not automatically deleted.
The administrator must manually manage the cleanup and removal of these resources when they are no longer needed.
items:
type: string
type: array
Expand Down
4 changes: 0 additions & 4 deletions deploy/helm/crds/apps.kubeblocks.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3827,8 +3827,6 @@ spec:

Setting instances to offline allows for a controlled scale-in process, preserving their data and maintaining
ordinal consistency within the Cluster.
Note that offline instances and their associated resources, such as PVCs, are not automatically deleted.
The administrator must manually manage the cleanup and removal of these resources when they are no longer needed.
items:
type: string
type: array
Expand Down Expand Up @@ -12580,8 +12578,6 @@ spec:

Setting instances to offline allows for a controlled scale-in process, preserving their data and maintaining
ordinal consistency within the Cluster.
Note that offline instances and their associated resources, such as PVCs, are not automatically deleted.
The administrator must manually manage the cleanup and removal of these resources when they are no longer needed.
items:
type: string
type: array
Expand Down
4 changes: 1 addition & 3 deletions docs/developer_docs/api-reference/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -3131,9 +3131,7 @@ future reuse or data recovery, but it is no longer actively used.</li>
and avoiding conflicts with new instances.</li>
</ol>
<p>Setting instances to offline allows for a controlled scale-in process, preserving their data and maintaining
ordinal consistency within the Cluster.
Note that offline instances and their associated resources, such as PVCs, are not automatically deleted.
The administrator must manually manage the cleanup and removal of these resources when they are no longer needed.</p>
ordinal consistency within the Cluster.</p>
</td>
</tr>
<tr>
Expand Down

0 comments on commit e9bb3a7

Please sign in to comment.