-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lookup instance availability for all AZs #5454
Conversation
Co-authored-by: Chetan Patwal <cPu1@users.noreply.github.com>
@@ -1041,7 +1041,10 @@ func (n *NodeGroup) InstanceTypeList() []string { | |||
if HasMixedInstances(n) { | |||
return n.InstancesDistribution.InstanceTypes | |||
} | |||
return []string{n.InstanceType} | |||
if n.InstanceType != "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were the reason for the need to revert and the reason the tests failed.
#5453
@@ -1523,7 +1529,7 @@ func (m *ManagedNodeGroup) InstanceTypeList() []string { | |||
if len(m.InstanceTypes) > 0 { | |||
return m.InstanceTypes | |||
} | |||
return []string{m.InstanceType} | |||
return nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this.
Will link test run results of the two failing tests. |
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
Unit tests are failing after pulling in the latest changes, we're going to have to skip this for today's release. |
Description
Closes #5128
Checklist
README.md
, or theuserdocs
directory)area/nodegroup
) and kind (e.g.kind/improvement
)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯