-
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
✨ Migrate autoscaling (⚠️ devops) #3566
✨ Migrate autoscaling (⚠️ devops) #3566
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3566 +/- ##
========================================
+ Coverage 83.6% 84.1% +0.4%
========================================
Files 861 864 +3
Lines 36229 36401 +172
Branches 779 780 +1
========================================
+ Hits 30319 30630 +311
+ Misses 5706 5565 -141
- Partials 204 206 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
9d651fe
to
e370d36
Compare
services/autoscaling/src/simcore_service_autoscaling/utils_aws.py
Outdated
Show resolved
Hide resolved
dc00595
to
2f14b48
Compare
5160535
to
a0f7bb7
Compare
services/autoscaling/src/simcore_service_autoscaling/background_task.py
Outdated
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/background_task.py
Outdated
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/background_task.py
Outdated
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/utils_aws.py
Outdated
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/utils_docker.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.
Very nice and readable.
Have some questions, please see them below.
services/autoscaling/src/simcore_service_autoscaling/core/settings.py
Outdated
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/core/settings.py
Outdated
Show resolved
Hide resolved
caae532
to
207feed
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.
Awesome effort, this looks super sleek and the tight testing is mega appreciated! Sorry for the many questions and ideas in the review, this time I properly took quiet time to read the code ;) I am looking forward to your input and seeing this merged :--) Kudos!
services/autoscaling/src/simcore_service_autoscaling/background_task.py
Outdated
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/background_task.py
Outdated
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/background_task.py
Outdated
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/dynamic_scaling_core.py
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.
Awesome effort, this looks super sleek and the tight testing is mega appreciated! Sorry for the many questions and ideas in the review, this time I properly took quiet time to read the code ;) I am looking forward to your input and seeing this merged :--) Kudos!
385e497
to
fe3d161
Compare
Some more stuff we caught on aws-staging yesterday during a hotfix-to-staging release
|
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 a lot, approved!
if limits are above the machine capabilities it won't start
62cc641
to
a99ff1b
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
What do these changes do?
This PR finalizes the migration of @Surfict 's cron job script into the osparc-simcore stack.
Main current features are:
AUTOSCALING_POLL_INTERVAL
(default 10seconds),NODES_MONITORING_NODE_LABELS
and services withNODES_MONITORING_SERVICE_LABELS
and/or usingNODES_MONITORING_SERVICE_IMAGE_NAMES
EC2_INSTANCES_ALLOWED_TYPES
,EC2_INSTANCES_MAX_INSTANCES
(default 10)AUTOSCALING_NODES_MONITORING
,AUTOSCALING_EC2_ACCESS
orAUTOSCALING_EC2_INSTANCES
isnull
Next steps might be:
Related issue/s
How to test
Checklist