-
Notifications
You must be signed in to change notification settings - Fork 271
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 Warm Pool #838
base: main
Are you sure you want to change the base?
Add Warm Pool #838
Conversation
cc: @yob @chloeruka |
Hi @nitrocode, thank you for opening this pull request! I agree this could be a valuable feature to help subtract any latency associated with our EC2 I’ve started looking at how the warm pool will behave and interact with the rest of our stack. One concern I have is how to prevent warm pool instances from starting their |
I was hoping there were warm pool specific lifecycle events but there are only instance launching and instance terminating events to hook into. Perhaps there is a way to detect if an ec2 is part of the warm pool and if so skip starting the agent. Edit: the warm pool does have a different lifecycle event called |
Interestingly the limitations section of Warm pools for Amazon EC2 Auto Scaling calls out ECS and EKS managed node pools as having a similar issue:
The best idea for managing the systemd unit I’ve had so far is to receive those events in a Lambda and lean on the SSM agent to execute the state change on the host. Though I’d still be concerned about the prevalence of race conditions in that set up 🤔 Maybe the best approach here is to ask AWS for guidance on how to warm pool a workload like the |
Are there plans to add this feature to the next release? |
Hi @joshross12 likewise this feature isn’t slated for a particular release and there are some technical hurdles to over come before we can land it. Specifically here, my plan is to experiment with using the SSM Agent to manage the status of the buildkite-agent systemd service, whether it should be running or not, and would welcome suggestions for how that would look and how to ensure the process is reliable. |
Cross-posting this information #822 (comment) |
Attempts to close #822