From 8770646d9f94d25e3b5ce8c0af955a50c5d23e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C4=8Cern=C3=BD?= Date: Mon, 21 Feb 2022 15:40:31 +0100 Subject: [PATCH] Make Cluster Autoscaler more configurable --- aws/cluster/variables.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aws/cluster/variables.tf b/aws/cluster/variables.tf index 42b1162..64c296d 100644 --- a/aws/cluster/variables.tf +++ b/aws/cluster/variables.tf @@ -850,6 +850,8 @@ variable "cluster-autoscaler" { balanceSimilarNodeGroups = bool scaleDownUtilizationThreshold = string scaleDownDelayAfterAdd = string + skipNodesWithLocalStorage = bool + skipNodesWithSystemPods = bool cpuRequest = string memoryRequest = string image = string @@ -860,6 +862,8 @@ variable "cluster-autoscaler" { balanceSimilarNodeGroups = false scaleDownUtilizationThreshold = "0.5" scaleDownDelayAfterAdd = "10m0s" + skipNodesWithLocalStorage = false + skipNodesWithSystemPods = true cpuRequest = "100m" memoryRequest = "300Mi" image = null