Closed qxrpub closed 2 months ago
Hi,
Multicluster version of the alert KubeCPUOvercommit is broken.
https://github.com/kubernetes-monitoring/kubernetes-mixin/blob/033a6fb33be80d381045dc570fc53f0b7750e8b6/alerts/resource_alerts.libsonnet#L35-L43
The _namespace_cpu:kube_pod_container_resourcerequests:sum metric is missing the kubeStateMetricsSelector ( job="kube-state-metrics) label. It only has cluster and namespace labels.
https://github.com/kubernetes-monitoring/kubernetes-mixin/blob/033a6fb33be80d381045dc570fc53f0b7750e8b6/rules/apps.libsonnet#L118-L131
already fixed by #947
Hi,
Multicluster version of the alert KubeCPUOvercommit is broken.
https://github.com/kubernetes-monitoring/kubernetes-mixin/blob/033a6fb33be80d381045dc570fc53f0b7750e8b6/alerts/resource_alerts.libsonnet#L35-L43
The _namespace_cpu:kube_pod_container_resourcerequests:sum metric is missing the kubeStateMetricsSelector ( job="kube-state-metrics) label. It only has cluster and namespace labels.
https://github.com/kubernetes-monitoring/kubernetes-mixin/blob/033a6fb33be80d381045dc570fc53f0b7750e8b6/rules/apps.libsonnet#L118-L131