Description of problem: In namespace filters like: >>>> alert: KubeDeploymentReplicasMismatch expr: kube_deployment_spec_replicas{job="kube-state-metrics",namespace=~"(openshift.*|kube.*|default|logging)"} != kube_deployment_status_replicas_available{job="kube-state-metrics",namespace=~"(openshift.*|kube.*|default|logging)"} for: 1h <<<< The existing regular expression allows in namespaces like "kubeless" which is a standard user project. Suggesting something like: (openshift-.*|kube-.*|default|logging|kube|openshift) Version-Release number of selected component (if applicable): v3.11.16 How reproducible: 100%
Also affects other alerts like: KubePodNotReady, KubeQuotaExceeded, and others.
Tracked here: https://github.com/openshift/cluster-monitoring-operator/issues/112 Thanks.
Here's a PR with the fix: https://github.com/openshift/cluster-monitoring-operator/pull/113
https://github.com/openshift/cluster-monitoring-operator/pull/113 is merged. We will cherry-pick it into the release-3.11 branch so it can be released in Openshift 3.11.z.
Issue is fixed Version: v3.11.30-1 Please change to ON_QA
Per Comment 5, move to VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0024