-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat(nodeadm): use cached kubelet version to reduce config time #1991
Conversation
Node logs are now collected for CI jobs: #2010 I'll use those to establish a baseline. /ci |
@cartermckinnon roger that! I've dispatched a workflow. 👍 |
@cartermckinnon the workflow that you requested has completed. 🎉
|
Some baseline samples:
|
3051064
to
fa74981
Compare
Added /ci |
@cartermckinnon roger that! I've dispatched a workflow. 👍 |
@cartermckinnon the workflow that you requested has completed. 🎉
|
Some samples using
|
Definitely a major improvement:
|
fa74981
to
1189c47
Compare
1189c47
to
450d096
Compare
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.
🚀
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.
nice gains!
Issue #, if available:
Improves #1751.
Description of changes:
This PR aims to reduce
nodeadm-config
time by determining thekubelet
version using a text file created during the AMI build process, instead of executingkubelet --version
.Using
kubelet --version
involves EBS lazy-loading time plus the overhead of the child process, and doing this duringnodeadm-config
delays execution of the user's user data scripts andnodeadm-run
.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.