-
Notifications
You must be signed in to change notification settings - Fork 117
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
ConsumerGroup reconciler #1562
ConsumerGroup reconciler #1562
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pierDipi 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 |
/assign |
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
acca8f1
to
a867e2d
Compare
Codecov Report
@@ Coverage Diff @@
## main #1562 +/- ##
============================================
- Coverage 75.37% 74.63% -0.75%
Complexity 592 592
============================================
Files 106 116 +10
Lines 4167 4207 +40
Branches 170 170
============================================
- Hits 3141 3140 -1
- Misses 766 809 +43
+ Partials 260 258 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pdipilat@redhat.com>
The following is the coverage report on the affected files.
|
return existingConsumers[i].IsLessThan(existingConsumers[j]) | ||
}) | ||
|
||
nConsumers := int32(len(existingConsumers)) |
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.
Changes look good.
Q: Will the scheduling of cg.Spec.Replicas
and descheduling of nConsumers-*cg.Spec.Replicas
be done in a separate PR?
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.
Yes, scheduling will be done in a separate PR
Friendly ping @devguyio |
/lgtm |
@pierDipi: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Part of #1537
Proposed Changes
Release Note
Docs
TODO: reconciler tests (follow-up PR)