-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add predicate func for pod controller and node controller #718
base: main
Are you sure you want to change the base?
Add predicate func for pod controller and node controller #718
Conversation
5c994f0
to
251071e
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.
LGTM
|
Yes, put it in predicate to avoid continuesly printing |
Update node predicate func, filter all the conditions compare. Add pod predicate func, remove host network check in the beginning of reconcile. Signed-off-by: Xie Zheng <[email protected]>
251071e
to
f7caed5
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #718 +/- ##
==========================================
+ Coverage 48.61% 48.99% +0.37%
==========================================
Files 94 94
Lines 12047 12210 +163
==========================================
+ Hits 5857 5982 +125
- Misses 5705 5725 +20
- Partials 485 503 +18
|
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.
LGTM
Update node predicate func, filter all the conditions, capacity and allocatable compare. Add pod predicate func, remove host network check in the beginning of reconcile.