-
Notifications
You must be signed in to change notification settings - Fork 595
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
resource_alerts: drop redundant KSM selector from KubeCPUOvercommit
#947
Conversation
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'd rather drop the "job" label selector on namespace_memory:kube_pod_container_resource_limits:sum
from the KubeCPUOverCommit expression.
job
label for namespace_memory:kube_pod_container_resource_limits:sum
job
label for namespace_cpu:kube_pod_container_resource_requests:sum
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
job
label for namespace_cpu:kube_pod_container_resource_requests:sum
KubeCPUOvercommit
ACK, I noticed the outer |
Could you elaborate why drop of this selector fixes something? I feel like job label is the required one for all the dashboards / rules / alerts, so that you can correctly select the Prometheus job. |
👋🏼 Thank you for looking at this, @povilasv! It's essentially the fact that However, I'd like to explicitly mention that |
Gentle ping, @povilasv. 🙂 |
understood, thanks! |
Fixes the alert
KubeCPUQuotaOvercommit
not firing as expected.cc @simonpasquier