-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
aws: support custom naming with external ccm #16130
aws: support custom naming with external ccm #16130
Conversation
Signed-off-by: Julien Boulanger <julien.boulanger@fr.clara.net>
Welcome @JBOClara! |
Hi @JBOClara. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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 kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @JBOClara. Did you test this change? |
Hi @hakman I have tested without applying for now. I need to build a test cluster to test with '--yes' today. Do I need to add a unit test for this change ? I'll check the failed tests and make some changes |
@JBOClara: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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 kubernetes/test-infra repository. I understand the commands that are listed here. |
I think the main focus should be to have a functional approach and we can discuss later what needs to be added or changed to merge the PR. As is at the moment, I don't see this having any effect in tests, as nodes still use resource based names. To help, 1ea0fd3 is the commit hat removed support for non resource based names. |
I'm not entirely clear on the reasoning behind the node naming change when using CCM. We're just starting our migration to 1.24. According to https://cloud-provider-aws.sigs.k8s.io/prerequisites/#node-name-conventions, AWS supports two naming conventions: IP-based or resource-based naming. We want to be able to use the 'IP name' subnet configuration, but since we manage our VPC and subnet with kops, there's no way to switch this parameter with kops. I tried to change this parameter on a cluster's subnets, but kops rolled back all my changes. In response to #12864 (comment), it was suggested that if admins don't want to use resource-based domain names, they can create their own shared subnets. However, we want to keep, as far as possible, using our subnets managed by kops. |
I will try to be as clear as I can. |
Ok 👍, thanks for your help, I'm closing this PR |
Allow to customize ResourceBasedNaming subnet configuration