-
Notifications
You must be signed in to change notification settings - Fork 66
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
KSPACE-46: Use SpaceProvisionerConfig for space placement decisions #991
KSPACE-46: Use SpaceProvisionerConfig for space placement decisions #991
Conversation
…-manager-uses-SPC-2
…functions on the ToolchainConfig in the tests.
enabled and ready states on the cluster selection.
…-manager-uses-SPC-2
… only use them in tests and in places that actually test the deprecated functionality. This will be removed in the future.
…-manager-uses-SPC-2
…PC-2' into KSPACE-5-capacity-manager-uses-SPC-2
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 & clean code 👍
just a few minor suggestions/questions, nothing critical
* fix some conditions in the tests * small doc updates
…PC-2' into KSPACE-5-capacity-manager-uses-SPC-2
host-operator here and simplify their signatures.
…-manager-uses-SPC-2
….com/metlos/codeready-host-operator into KSPACE-5-capacity-manager-uses-SPC-2
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 👍
Great job 🥇 🚀 Thanks also for addressing all my comments 🙏
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MatousJobanek, metlos The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
….com/metlos/codeready-host-operator into KSPACE-5-capacity-manager-uses-SPC-2
|
@metlos Let's wait with the merge till Monday morning, so we have some time to check and monitor that everything is working fine in production. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #991 +/- ##
==========================================
+ Coverage 84.75% 84.87% +0.12%
==========================================
Files 55 55
Lines 5039 5066 +27
==========================================
+ Hits 4271 4300 +29
+ Misses 584 583 -1
+ Partials 184 183 -1
|
This changes the logic in
pkg/capacity/manager.go
to use the configuration from theSpaceProvisionerConfig
objects instead of the configuration in theToolchainConfig
.Note that e2e tests are not passing yet, so this must not be merged atm.
JIRA issue: https://issues.redhat.com/browse/KSPACE-46
Associated PRs in other repos: