Skip to content

Commit

Permalink
K8s-9372: Change comments for Random policy
Browse files Browse the repository at this point in the history
  • Loading branch information
gizquierdo-s11 committed Mar 22, 2024
1 parent d294cae commit 863e06d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/cluster/v1alpha1/machineset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type MachineSetSpec struct {
MinReadySeconds int32 `json:"minReadySeconds,omitempty"`

// DeletePolicy defines the policy used to identify nodes to delete when downscaling.
// Defaults to "Random". Valid values are "Random, "Newest", "Oldest"
// Defaults to "Custom". Valid values are "Random, "Newest", "Oldest"
// +kubebuilder:validation:Enum=Random,Newest,Oldest
DeletePolicy string `json:"deletePolicy,omitempty"`

Expand All @@ -78,7 +78,7 @@ type MachineSetSpec struct {
}

// MachineSetDeletePolicy defines how priority is assigned to nodes to delete when
// downscaling a MachineSet. Defaults to "Random".
// downscaling a MachineSet. Defaults to "Custom".
type MachineSetDeletePolicy string

const (
Expand Down

0 comments on commit 863e06d

Please sign in to comment.