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

docs: Update Karpenter examples to include required amiSelectorTerms #7564

Closed
wants to merge 1 commit into from

Conversation

d1egoaz
Copy link

@d1egoaz d1egoaz commented Jan 3, 2025

Description

This update aligns the Karpenter examples with the recent changes introduced in PR #6450, which makes amiSelectorTerms a required field in NodeClasses.

How was this change tested?

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.

This update aligns the Karpenter examples with the recent changes introduced in PR aws#6450, which makes amiSelectorTerms a required field in the AWS Karpenter provider.
@d1egoaz d1egoaz requested a review from a team as a code owner January 3, 2025 16:18
@d1egoaz d1egoaz requested a review from ellistarn January 3, 2025 16:18
Copy link

netlify bot commented Jan 3, 2025

Deploy Preview for karpenter-docs-prod ready!

Name Link
🔨 Latest commit b16c38d
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/67780dd6b88d1100088170d3
😎 Deploy Preview https://deploy-preview-7564--karpenter-docs-prod.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -77,6 +77,10 @@ For example, you could have:
spec:
# The latest AMI in this family will be used
amiFamily: AL2
amiSelectorTerms:
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we also make this update to the docs, v1.0 and v.1.1 folders?

@@ -77,6 +77,10 @@ For example, you could have:
spec:
Copy link
Contributor

Choose a reason for hiding this comment

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

Linking the line here since I can't comment on it. Seems like the Paragraph above this example needs to be updated:

Test clusters: On lower environment clusters, you can run the latest AMIs for your workloads in a safe environment. The EC2NodeClass for these clusters could be set with a chosen amiFamily, but no amiSelectorTerms set. For example, the NodePool and EC2NodeClass could begin with the following:

ref: https://github.com/aws/karpenter-provider-aws/blob/main/website/content/en/preview/tasks/managing-amis.md#option-1-manage-how-amis-are-tested-and-rolled-out

@engedaam engedaam self-assigned this Jan 7, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12600603492

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 65.125%

Totals Coverage Status
Change from base Build 12522084582: 0.0%
Covered Lines: 5774
Relevant Lines: 8866

💛 - Coveralls

@engedaam
Copy link
Contributor

@d1egoaz Any updates here?

@engedaam
Copy link
Contributor

Closing this PR in favor: #7582

@engedaam engedaam closed this Jan 21, 2025
@d1egoaz
Copy link
Author

d1egoaz commented Jan 22, 2025

@d1egoaz Any updates here?

Sorry @engedaam, I’ve been OOO the past weeks. I noticed the other PR mentioned has fixed the docs. All good, thanks!

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.

3 participants