From bfa68fc8cb9811303ab995eaad3a8dc305df93af Mon Sep 17 00:00:00 2001 From: Ole Markus With Date: Sat, 26 Sep 2020 11:00:53 +0200 Subject: [PATCH] Fix CAS ASG configuration --- upup/models/bindata.go | 2 +- .../cluster-autoscaler.addons.k8s.io/k8s-1.15.yaml.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/upup/models/bindata.go b/upup/models/bindata.go index 721fbbcc2cdf6..0ef4bb23f7f7d 100644 --- a/upup/models/bindata.go +++ b/upup/models/bindata.go @@ -1014,7 +1014,7 @@ spec: - --cloud-provider={{ $.CloudProvider }} - --expander={{ .Expander }} {{ range $name, $spec := GetNodeInstanceGroups }} - - --nodes={{ $spec.MinSize }}:{{ $spec.MaxSize }}:{{ $name }} + - --nodes={{ $spec.MinSize }}:{{ $spec.MaxSize }}:{{ $name }}.{{ ClusterName }} {{ end }} - --scale-down-utilization-threshold={{ .ScaleDownUtilizationThreshold }} - --skip-nodes-with-local-storage={{ .SkipNodesWithLocalStorage }} diff --git a/upup/models/cloudup/resources/addons/cluster-autoscaler.addons.k8s.io/k8s-1.15.yaml.template b/upup/models/cloudup/resources/addons/cluster-autoscaler.addons.k8s.io/k8s-1.15.yaml.template index e0e3aa10d54a2..d12587108c16a 100644 --- a/upup/models/cloudup/resources/addons/cluster-autoscaler.addons.k8s.io/k8s-1.15.yaml.template +++ b/upup/models/cloudup/resources/addons/cluster-autoscaler.addons.k8s.io/k8s-1.15.yaml.template @@ -157,7 +157,7 @@ spec: - --cloud-provider={{ $.CloudProvider }} - --expander={{ .Expander }} {{ range $name, $spec := GetNodeInstanceGroups }} - - --nodes={{ $spec.MinSize }}:{{ $spec.MaxSize }}:{{ $name }} + - --nodes={{ $spec.MinSize }}:{{ $spec.MaxSize }}:{{ $name }}.{{ ClusterName }} {{ end }} - --scale-down-utilization-threshold={{ .ScaleDownUtilizationThreshold }} - --skip-nodes-with-local-storage={{ .SkipNodesWithLocalStorage }}