-
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
✨Computational autoscaling: find out which EC2 type is necessary #4975
✨Computational autoscaling: find out which EC2 type is necessary #4975
Conversation
bcdd1aa
to
6d4a9fc
Compare
6d4a9fc
to
eadc959
Compare
Codecov Report
@@ Coverage Diff @@
## master #4975 +/- ##
========================================
+ Coverage 87.2% 87.4% +0.2%
========================================
Files 1239 1048 -191
Lines 51042 46200 -4842
Branches 1080 545 -535
========================================
- Hits 44528 40424 -4104
+ Misses 6277 5655 -622
+ Partials 237 121 -116
Flags with carried forward coverage won't be shown. Click here to find out more.
|
bd456b6
to
98987f7
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.
Looks good, thanks!
edfc689
to
3083cc8
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.
Thanks
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.
Very nice job. Left a few comments. thx!
services/autoscaling/src/simcore_service_autoscaling/modules/auto_scaling_core.py
Outdated
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/modules/auto_scaling_core.py
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/utils/auto_scaling_core.py
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/utils/auto_scaling_core.py
Show resolved
Hide resolved
150daca
to
9d0a3ed
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Code Climate has analyzed commit 9d0a3ed and detected 0 issues on this pull request. View more on Code Climate. |
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.
👍
What do these changes do?
This PR shall allow the autoscaling service to find out which EC2 type is desired by looking into the task resources.
New
EC2_INSTANCES_ALLOWED_TYPES
then it will start such a machine instead of fitting it to the task needed resources. In case no specific EC2 instance type is defined, then the usual best fitting machine algorithm is used.ec2-instance-type=t2.micro
is set on each autoscaled nodeComputational mode:
EC2-INSTANCE-TYPE
Dynamic mode:
bonus
EC2_INSTANCES_TIME_BEFORE_TERMINATION
)Related issue/s
How to test
DevOps Checklist