From c1abd48d4b3905b437effd408b79e94660b00e60 Mon Sep 17 00:00:00 2001 From: nikmohan123 <154277636+nikmohan123@users.noreply.github.com> Date: Wed, 6 Mar 2024 12:23:00 -0600 Subject: [PATCH] cherrypick: fix: Changing the MaxInstanceTypes back to original value of 60 in order to reduce the request size to be sent to launch APIs.order t (#1074) --- pkg/controllers/provisioning/scheduling/nodeclaimtemplate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controllers/provisioning/scheduling/nodeclaimtemplate.go b/pkg/controllers/provisioning/scheduling/nodeclaimtemplate.go index 6f3d65f2a4..9012444337 100644 --- a/pkg/controllers/provisioning/scheduling/nodeclaimtemplate.go +++ b/pkg/controllers/provisioning/scheduling/nodeclaimtemplate.go @@ -31,7 +31,7 @@ import ( // MaxInstanceTypes is a constant that restricts the number of instance types to be sent for launch. Note that this // is intentionally changed to var just to help in testing the code. -var MaxInstanceTypes = 100 +var MaxInstanceTypes = 60 // NodeClaimTemplate encapsulates the fields required to create a node and mirrors // the fields in NodePool. These structs are maintained separately in order