-
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 backend: set container limits as labels ⚠️ (devops checks on grafana dashboards!) 🚨 #4453
✨ Computational backend: set container limits as labels ⚠️ (devops checks on grafana dashboards!) 🚨 #4453
Conversation
68a20fc
to
9f60948
Compare
Codecov Report
@@ Coverage Diff @@
## master #4453 +/- ##
========================================
- Coverage 86.7% 86.6% -0.1%
========================================
Files 867 685 -182
Lines 39204 34142 -5062
Branches 745 467 -278
========================================
- Hits 34006 29583 -4423
+ Misses 5022 4448 -574
+ Partials 176 111 -65
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.
👍
...r-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_service_specs/sidecar.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.
very promissing, and very good for cleanup pruposes on the labels! thanks a lot!
I have only added minors and some questions for my learndings.
Please add a big verbose devops warning to the title of the PR etc. , for sure we have to modify some PromQl in the grafan dashboards, and I will prepare an ops-commit once this is in master (and I see what breaks) that shall propagate with this PR
...ices/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_api/_core.py
Show resolved
Hide resolved
...ices/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_api/_core.py
Show resolved
Hide resolved
...-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_service_specs/settings.py
Show resolved
Hide resolved
...rector-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/_core/_events.py
Outdated
Show resolved
Hide resolved
services/director-v2/tests/unit/with_dbs/test_modules_dynamic_sidecar_docker_service_specs.py
Show resolved
Hide resolved
1c57f2a
to
d315476
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.
So it's looking good. I have expressed some concerns below.
Also, did you test that service composed of multiple containers like s4l work as expected?
packages/models-library/src/models_library/service_settings_labels.py
Outdated
Show resolved
Hide resolved
...ices/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_api/_core.py
Show resolved
Hide resolved
...ices/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_api/_core.py
Outdated
Show resolved
Hide resolved
...ices/director-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_api/_core.py
Outdated
Show resolved
Hide resolved
...tor-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/docker_service_specs/proxy.py
Outdated
Show resolved
Hide resolved
...rector-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/_core/_events.py
Show resolved
Hide resolved
...rector-v2/src/simcore_service_director_v2/modules/dynamic_sidecar/scheduler/_core/_events.py
Show resolved
Hide resolved
services/director-v2/tests/unit/with_dbs/test_modules_dynamic_sidecar_docker_api.py
Show resolved
Hide resolved
services/director-v2/tests/unit/with_dbs/test_modules_dynamic_sidecar_docker_api.py
Show resolved
Hide resolved
Code Climate has analyzed commit 1396d73 and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
I tried iSeg |
…bels (#322) * Remove ceph scrape (was broken) on osparc-public * Adress DevOps Changes ITISFoundation/osparc-simcore#4453 --------- Co-authored-by: kaiser <[email protected]>
🚨 check when releasing to staging and prod
What do these changes do?
NOTE that underscores are not considered as valid docker label keys!
legacy services now:
computational service now:
dynamic-services now:
show the same labels in service and container labels.
NOTE: io.simcore.scheduler-data is still the same. I did not dare touch this now.
NOTE2: docker network/volumes labels are not changed. I will let @GitHK take care of this or when I get again an incentive to touch this.
Related issue/s
How to test
DevOps Checklist