-
Notifications
You must be signed in to change notification settings - Fork 27
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
✨Autoscaling: have a buffer of machines always ready (episode I) (⚠️ devops) #3790
✨Autoscaling: have a buffer of machines always ready (episode I) (⚠️ devops) #3790
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3790 +/- ##
========================================
+ Coverage 84.1% 84.8% +0.6%
========================================
Files 897 920 +23
Lines 38663 39131 +468
Branches 748 793 +45
========================================
+ Hits 32546 33190 +644
+ Misses 5918 5731 -187
- Partials 199 210 +11
Flags with carried forward coverage won't be shown. Click here to find out more.
|
c05bded
to
41c40b9
Compare
services/autoscaling/src/simcore_service_autoscaling/utils/ec2.py
Outdated
Show resolved
Hide resolved
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.
👍
9dd4e40
to
7abd29d
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.
Nice!
Sorry I absolutely do not have time to even quickly read this at this point. just letting you know. |
7abd29d
to
8ca6f53
Compare
Code Climate has analyzed commit 8ca6f53 and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
What do these changes do?
EC2_INSTANCES_MACHINES_BUFFER
, defaults to 0 when undefined Please currently define to 0This PR teaches the autoscaling to keep a buffer of machines when upscaling and downscaling BUT not usable until episode II as this will indeed create more machines than necessary in case of load and keep always that number of buffer machines when scaling down but not ensure that EC2_INSTANCES_MACHINES_BUFFER is always present.
Related issue/s
How to test
Checklist