diff --git a/api/k8s/v1/k8s_sdk.go b/api/k8s/v1/k8s_sdk.go index 9d144434a..96b0c66eb 100644 --- a/api/k8s/v1/k8s_sdk.go +++ b/api/k8s/v1/k8s_sdk.go @@ -619,6 +619,8 @@ type ClusterAutoscalerConfig struct { // // Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable. ExpendablePodsPriorityCutoff int32 `json:"expendable_pods_priority_cutoff"` + // ScaleDownUnneededTime: how long a node should be unneeded before it is eligible for scale down + ScaleDownUnneededTime string `json:"scale_down_unneeded_time"` } // CreateClusterRequestAutoUpgrade: create cluster request. auto upgrade @@ -651,6 +653,8 @@ type CreateClusterRequestAutoscalerConfig struct { // // Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable. ExpendablePodsPriorityCutoff *int32 `json:"expendable_pods_priority_cutoff"` + // ScaleDownUnneededTime: how long a node should be unneeded before it is eligible for scale down + ScaleDownUnneededTime *string `json:"scale_down_unneeded_time"` } // CreateClusterRequestPoolConfig: create cluster request. pool config @@ -838,6 +842,8 @@ type UpdateClusterRequestAutoscalerConfig struct { // // Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they don't cause scale up. Pods with null priority (PodPriority disabled) are non expendable. ExpendablePodsPriorityCutoff *int32 `json:"expendable_pods_priority_cutoff"` + // ScaleDownUnneededTime: how long a node should be unneeded before it is eligible for scale down + ScaleDownUnneededTime *string `json:"scale_down_unneeded_time"` } // Version: version