-
Notifications
You must be signed in to change notification settings - Fork 1.5k
CORS-4073: validate instance type support IPv6 in dual-stack #10238
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
base: main
Are you sure you want to change the base?
Conversation
|
@tthvo: This pull request references CORS-4073 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/label platform/aws |
|
Note that we don't need to check if the instance type is nitro-based here, because that requirement is only for launching instances into IPv6-only subnets. From AWS docs, we see:
For dual-stack scenarios, subnets are dual-stack so checking IPv6 networking capability of the instance type is sufficient :D Also, the machinepool default instance types support IPv6. |
|
Are there any plans to move to "github.com/aws/aws-sdk-go-v2/aws" within pkg/asset/installconfig/aws/instancetypes.go? |
Yes, exactly! I wanted to keep it as AWS SDK v1 for easy review. There will be future PRs to gradually migrate asset pkg to AWS SDK v2 later. |
In order to attach IPv6 addresses to the ENI of EC2 instances, the instance type must support IPv6 networking. The installer must validate it by inspecting the networking capabilities of instance type via EC2 API calls.
|
From discussion with Sandhya, I updated this PR to use AWS SDK v2 :D |
sadasu
left a comment
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.
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sadasu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Yes, I am OK with using migrating to aws sdk v2 for the files touched here because they will get thoroughly tested as part of this feature. I believe, repeatedly taking this approach would eventually de-risk the migration as a whole. |
|
/retest |
1 similar comment
|
/retest |
|
@tthvo: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
In order to attach IPv6 addresses to the ENI of EC2 instances, the instance type must support IPv6 networking. The installer must validate it by inspecting the networking capabilities of instance type via EC2 API calls.
This takes inspiration from the AWS CLI command: