Skip to content
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

fix: create offerings regardless of subnets #4857

Merged
merged 9 commits into from
Oct 23, 2023
Merged

Conversation

njtran
Copy link
Contributor

@njtran njtran commented Oct 19, 2023

Fixes #4848

Description
Removes the describe subnets call from the GetInstanceTypes so that we list all instance types from all availability zones in a region.

How was this change tested?

  • make presubmit (not successful yet)

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@njtran njtran requested a review from a team as a code owner October 19, 2023 16:19
@njtran njtran requested a review from bwagner5 October 19, 2023 16:19
@netlify
Copy link

netlify bot commented Oct 19, 2023

Deploy Preview for karpenter-docs-prod canceled.

Name Link
🔨 Latest commit 84cb0b4
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/6536c820ed750400086f3684

Copy link
Contributor Author

@njtran njtran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/karpenter snapshot

@github-actions
Copy link
Contributor

Snapshot successfully published to oci://071440425669.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter:v0-e191bd625e03b78245aa5b731ccfb7338561204c.

@jonathan-innis
Copy link
Contributor

jonathan-innis commented Oct 21, 2023

Nice work! Just a few things about naming 🎉 Does anything change in this PR that we need to test? Should we validate that we still have an AZ with an offering attached to an instance type even if the subnet doesn't support the AZ now? It may also be good to contrive a test that replicates the drift behavior failure that we were seeing so that we ensure that we've solved this problem.

@jonathan-innis
Copy link
Contributor

Also, it looks like the drift test is still failing even with this PR. Do you know why the subnet drift still isn't succeeding?

Copy link
Contributor Author

@njtran njtran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/karpenter snapshot

@github-actions
Copy link
Contributor

Snapshot successfully published to oci://071440425669.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter:v0-579c8bb1ffd22daa0064da841b39fa6faf399e87.

Copy link
Contributor Author

@njtran njtran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/karpenter snapshot

@github-actions
Copy link
Contributor

Snapshot successfully published to oci://071440425669.dkr.ecr.us-east-1.amazonaws.com/karpenter/snapshot/karpenter:v0-84cb0b47dabac2240fac749d85da9dbe0d1a6d48.

Copy link
Contributor

@jonathan-innis jonathan-innis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@njtran njtran merged commit 5d73e22 into aws:main Oct 23, 2023
22 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Instance Type Offerings available in only some zones can cause failures in deprovisioning
2 participants