-
Notifications
You must be signed in to change notification settings - Fork 40
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: Support Windows for Warm Pools #290
Conversation
Codecov Report
@@ Coverage Diff @@
## master #290 +/- ##
==========================================
+ Coverage 70.02% 70.09% +0.06%
==========================================
Files 19 19
Lines 3096 3103 +7
==========================================
+ Hits 2168 2175 +7
Misses 788 788
Partials 140 140
Continue to review full report at Codecov.
|
81b1688
to
ece58f7
Compare
Signed-off-by: Jonah Back <jonah@jonahback.com>
ece58f7
to
94ca55c
Compare
Signed-off-by: Jonah Back <jonah@jonahback.com>
Signed-off-by: Jonah Back <jonah@jonahback.com>
Got around to testing this on the EKS recommended Windows AMI - it works! Boot time for warm instances is around 2-3 minutes, compared to 7 for fresh instances. Might even be shorted without the custom PreBootstrap scripts that we have. |
Wow thats awesome, AL2 is kinda light weight so we only saw 1m instead of 2m approx, but still a 40-50% improvement. |
Yeah - I imagine BottleRocket will be even less of an improvement than AL2, since it's already starting up in 90 seconds or so. |
Well, AWS provisioning the instance takes around 45-60 seconds (which you can potentially save by warming), booting up bottlerocket machine in 30 seconds, and making it ready in another 30 will be pretty damn impressive. |
For real - I just clocked a BottleRocket node (without warm pool) from
1-2 took 41 seconds For a total of 71 seconds from ASG capacity change to being ready in K8S 😱 . Given the design of BottleRocket with it's read-only root file system and the already bleeding-fast startup times, it probably doesn't make sense to even attempt to support warm pools for it. |
Might reduce that by a good 20-30 seconds with warm pools :) don't forget you are completely removing the time it takes Amazon to simply create and propagate the instance object itself. BTW, did you push the change for |
Signed-off-by: Jonah Back <jonah@jonahback.com>
Just pushed the persist change |
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.
🏆
Adds to #277