Set up environment with build 4.5.0-0.nightly-2020-06-30-003734
Tested with 4.5.0-0.nightly-2020-06-30-003734, CPUThrottlingHigh alert have been added namespace restrictions # oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- cat cat /etc/prometheus/rules/prometheus-k8s-rulefiles-0/openshift-monitoring-prometheus-k8s-rules.yaml | grep CPUThrottlingHigh -A 12 cat: cat: No such file or directory - alert: CPUThrottlingHigh annotations: message: '{{ $value | humanizePercentage }} throttling of CPU in namespace {{ $labels.namespace }} for container {{ $labels.container }} in pod {{ $labels.pod }}.' expr: | sum(increase(container_cpu_cfs_throttled_periods_total{container!="", namespace=~"(openshift-.*|kube-.*|default|logging)"}[5m])) by (container, pod, namespace) / sum(increase(container_cpu_cfs_periods_total{namespace=~"(openshift-.*|kube-.*|default|logging)"}[5m])) by (container, pod, namespace) > ( 25 / 100 ) for: 15m labels: severity: warning
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-2020:2409