-
Notifications
You must be signed in to change notification settings - Fork 179
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
Extend node tune controller with status conditions #2165
Extend node tune controller with status conditions #2165
Conversation
@rzetelskik: GitHub didn't allow me to request PR reviews from the following users: rzetelskik. Note that only scylladb members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
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-sigs/prow repository. |
de15257
to
a95a864
Compare
/cc zimnx tnozicka |
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.
first batch
d2d0a40
to
b188883
Compare
2a42a2e
to
f708e20
Compare
f86391a
to
a0714b1
Compare
New flake #2185, unrelated to these changes though. |
/retest |
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.
copule of comments, rest lgtm
Node tune controller does not currently set status conditions on NodeConfig's reconciliation. Instead it only set status' NodeStatuses. While this is enough for checking the status programmatically, setting and aggregating status conditions allows for a better UX, by giving the users an option to query NodeConfig conditions. This PR extends the node tune controller with per-node status conditions and further aggregates them with the existing ones in NodeConfig controller. It also adds handlers for NodeConfig events to node tune controller and aligns the existing e2e tests with the changes.
a0714b1
to
39cda4b
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
/assign tnozicka
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rzetelskik, tnozicka, zimnx 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 |
Description of your changes: Node tune controller does not currently set status conditions on NodeConfig's reconciliation. Instead it only set status' NodeStatuses. While this is enough for checking the status programmatically, setting and aggregating status conditions allows for a better UX, by giving the users an option to query NodeConfig conditions.
This PR extends the node tune controller with per-node status conditions and further aggregates them with the existing ones in NodeConfig controller.
It also adds handlers for NodeConfig events to node tune controller and aligns the existing e2e tests with the changes.
Which issue is resolved by this Pull Request:
Resolves #1920
/kind feature
/priority important-longterm
/cc