Skip to content

Commit 017f88a

Browse files
committed
Fix AWS CSI scale-up from zero
1 parent ceac988 commit 017f88a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • cluster-autoscaler/cloudprovider/aws/ec2_instance_types

cluster-autoscaler/cloudprovider/aws/ec2_instance_types/gen.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ import (
3232
"k8s.io/klog/v2"
3333
)
3434

35+
// EBSVolumeLimit stays on InstanceType for runtime EC2 metadata, but is omitted
36+
// from static map literals until the list is regenerated with DescribeInstanceTypes.
3537
var packageTemplate = template.Must(template.New("").Parse(`/*
3638
Copyright The Kubernetes Authors.
3739
@@ -74,7 +76,6 @@ var InstanceTypes = map[string]*InstanceType{
7476
MemoryMb: {{ .MemoryMb }},
7577
GPU: {{ .GPU }},
7678
Architecture: "{{ .Architecture }}",
77-
EBSVolumeLimit: {{ .EBSVolumeLimit }},
7879
},
7980
{{- end }}
8081
}

0 commit comments

Comments
 (0)