From 82fa2df52f9dc55f07535e1e94d0887777294e15 Mon Sep 17 00:00:00 2001 From: Aleksandra Malinowska Date: Wed, 4 Jul 2018 13:45:32 +0200 Subject: [PATCH] Lower default expendable pod priority cutoff to -10 --- cluster-autoscaler/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster-autoscaler/main.go b/cluster-autoscaler/main.go index f483dfc923..392ec97f33 100644 --- a/cluster-autoscaler/main.go +++ b/cluster-autoscaler/main.go @@ -146,7 +146,7 @@ var ( maxAutoprovisionedNodeGroupCount = flag.Int("max-autoprovisioned-node-group-count", 15, "The maximum number of autoprovisioned groups in the cluster.") unremovableNodeRecheckTimeout = flag.Duration("unremovable-node-recheck-timeout", 5*time.Minute, "The timeout before we check again a node that couldn't be removed before") - expendablePodsPriorityCutoff = flag.Int("expendable-pods-priority-cutoff", 0, "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 = flag.Int("expendable-pods-priority-cutoff", -10, "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.") regional = flag.Bool("regional", false, "Cluster is regional.") )