From 863e06d9fc8a49a995d52da627c8f68b8cc1eac8 Mon Sep 17 00:00:00 2001 From: gizquierdo Date: Fri, 22 Mar 2024 16:59:56 +0100 Subject: [PATCH] K8s-9372: Change comments for Random policy --- pkg/apis/cluster/v1alpha1/machineset_types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/cluster/v1alpha1/machineset_types.go b/pkg/apis/cluster/v1alpha1/machineset_types.go index 257e47559..101853b13 100644 --- a/pkg/apis/cluster/v1alpha1/machineset_types.go +++ b/pkg/apis/cluster/v1alpha1/machineset_types.go @@ -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"` @@ -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 (