-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Alert if there are no available nodes to run VMs #8906
Alert if there are no available nodes to run VMs #8906
Conversation
/hold |
7cef160
to
d821560
Compare
/retest |
1 similar comment
/retest |
d821560
to
d5c081c
Compare
d5c081c
to
6d2b1ae
Compare
/retest |
/unhold |
/retest |
add82fa
to
5655745
Compare
/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.
@machadovilaca Hi. Node informers are expensive from performance POV, since they've being updated a lot. Please consider to change the logic to get the node list using direct API call. This call will be initiated each time the collector would be polled.
+1 I would expect Kuberentes to expose some node metrics and you might want to build on it. |
5655745
to
dd4e434
Compare
great idea @xpivarc. I updated the PR to work with Prometheus node metrics |
/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.
I think this would be a nice generic alert. Left one comment
dd4e434
to
dc4a8f5
Compare
e787ce3
to
48a36a4
Compare
48a36a4
to
fd2ce8b
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.
2e26cdb
to
9abea30
Compare
e6c3b7d
to
72564de
Compare
/retest |
fe5a07d
to
cbb6e01
Compare
Signed-off-by: João Vilaça <jvilaca@redhat.com>
cbb6e01
to
d3b69da
Compare
Signed-off-by: João Vilaça <jvilaca@redhat.com>
d3b69da
to
a17c576
Compare
/retest |
/lgtm |
/retest |
1 similar comment
/retest |
/retest-required |
1 similar comment
/retest-required |
@machadovilaca: The following tests failed, say
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. |
What this PR does / why we need it:
Adds a new metric
kubevirt_node_virtualization_status
that represents if a node is available to run VMs or notAdds a new alert to warn users when no node is available to run VMs
Adds and e2e test for the new alert
jira-ticket: CNV-23338
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note: