-
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: use label instead of draining machine #5340
✨Autoscaling: use label instead of draining machine #5340
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5340 +/- ##
======================================
Coverage 87.3% 87.3%
======================================
Files 1321 1321
Lines 54146 54167 +21
Branches 1172 1172
======================================
+ Hits 47278 47307 +29
+ Misses 6618 6610 -8
Partials 250 250
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
thx!
services/autoscaling/src/simcore_service_autoscaling/core/settings.py
Outdated
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/utils/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.
Thanks for the changes! Q: Now other containers such as exporter will still keep running correct?
services/autoscaling/src/simcore_service_autoscaling/modules/auto_scaling_core.py
Outdated
Show resolved
Hide resolved
6d67a44
to
2326465
Compare
Q: do we need to update some director ENV to make sure dynamic sidecar has proper node label constraints? |
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?
It seems that the performance of starting a dynamic-sidecar on an autoscaled node is reduced when the docker node is first transitioning from drain to active state.
This PR changes how the autoscaling service treats "drained" nodes.
Before:
After:
AUTOSCALING_LABELIZE_DRAINED_NODES
it is set currently by default to False so we can test the results in AWS-master. Therefore changes in osparc-config might come later if this proves fruitful.Related issue/s
How to test
Dev Checklist
DevOps Checklist