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

Add InstanceIdNodeName feature gate #1731

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Conversation

Issacwww
Copy link
Member

Issue #, if available:

Description of changes:
Opt-in Instance Id as Node name for Launch template case

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

@Issacwww
Copy link
Member Author

/ci
+workflow:os_distros al2023

Copy link
Contributor

@Issacwww roger that! I've dispatched a workflow. 👍

Copy link
Contributor

@Issacwww the workflow that you requested has completed. 🎉

AMI variantBuildTest
1.23 / al2023success ✅success ✅
1.24 / al2023success ✅success ✅
1.25 / al2023success ✅success ✅
1.26 / al2023success ✅success ✅
1.27 / al2023success ✅success ✅
1.28 / al2023success ✅success ✅
1.29 / al2023success ✅success ✅

@Issacwww Issacwww marked this pull request as ready for review March 20, 2024 04:02
@Issacwww Issacwww changed the title [WIP] Opt-in Instance Id as Node name for AL23 Opt-in Instance Id as Node name for AL23 Mar 20, 2024
Copy link
Member

@ndbaker1 ndbaker1 left a comment

Choose a reason for hiding this comment

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

LGTM but im not confident i like the name InstanceIdNamedNode

@Issacwww
Copy link
Member Author

How about EnableEC2InstanceIdNaming?

@ndbaker1
Copy link
Member

How about EnableEC2InstanceIdNaming?

I think it was already close, like InstanceIdNodeName

just referencing kubelet docs and seems like the pattern is usually *Node*

@cartermckinnon
Copy link
Member

+1 for InstanceIdNodeName

Copy link
Member

@cartermckinnon cartermckinnon left a comment

Choose a reason for hiding this comment

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

Couple small things, overall looks fine to me.

nodeadm/internal/api/status.go Outdated Show resolved Hide resolved
nodeadm/internal/kubelet/config.go Outdated Show resolved Hide resolved
@cartermckinnon cartermckinnon changed the title Opt-in Instance Id as Node name for AL23 Add InstanceIdNodeName feature gate Mar 26, 2024
@Issacwww Issacwww force-pushed the optInNodeName branch 2 times, most recently from 69e2f1e to 62145d8 Compare April 11, 2024 00:27
@Issacwww
Copy link
Member Author

/ci
+workflow:os_distros al2023

Copy link
Contributor

@Issacwww roger that! I've dispatched a workflow. 👍

Copy link
Contributor

@Issacwww the workflow that you requested has completed. 🎉

AMI variantBuildTest
1.23 / al2023success ✅success ✅
1.24 / al2023success ✅success ✅
1.25 / al2023success ✅success ✅
1.26 / al2023success ✅success ✅
1.27 / al2023success ✅success ✅
1.28 / al2023success ✅success ✅
1.29 / al2023success ✅success ✅
1.30 / al2023failure ❌skipped ⏭️

Copy link
Member

@ndbaker1 ndbaker1 left a comment

Choose a reason for hiding this comment

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

LGTM, some nits for docs

nodeadm/doc/examples.md Outdated Show resolved Hide resolved
nodeadm/internal/featuregates/featuregates.go Outdated Show resolved Hide resolved
nodeadm/internal/featuregates/featuregates.go Outdated Show resolved Hide resolved
nodeadm/api/v1alpha1/nodeconfig_types.go Outdated Show resolved Hide resolved
@Issacwww Issacwww force-pushed the optInNodeName branch 2 times, most recently from e22cb6d to 4a62365 Compare April 11, 2024 17:30
Copy link
Member

@cartermckinnon cartermckinnon left a comment

Choose a reason for hiding this comment

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

Few small things

nodeadm/doc/examples.md Outdated Show resolved Hide resolved
nodeadm/doc/examples.md Show resolved Hide resolved
nodeadm/internal/featuregates/featuregates.go Outdated Show resolved Hide resolved
@Issacwww Issacwww merged commit a517981 into awslabs:main Apr 16, 2024
9 of 10 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.

None yet

3 participants