-
Bug
-
Resolution: Done
-
None
-
None
-
False
-
-
False
-
CLOSED
-
---
-
---
-
-
CNV I/U Operators Sprint 245
-
High
-
No
Section Number and Name:
https://docs.openshift.com/container-platform/4.14/virt/monitoring/virt-runbooks.html#virt-runbook-kubevirtcomponentexceedsrequestedcpu_virt-runbooks
Describe the issue:
Runbook url for alert kubevirtcomponentexceedsrequestedcpu_virt does not match expected pattern. The prometheusrule says the url is supposed to be https://docs.openshift.com/container-platform/4.14/virt/monitoring/virt-runbooks.html#virt-runbook-KubeVirtComponentExceedsRequestedCPU:
alert: KubeVirtComponentExceedsRequestedCPU annotations: description: Pod {{ $labels.pod }} cpu usage exceeds the CPU requested runbook_url: https://docs.openshift.com/container-platform/4.14/virt/monitoring/virt-runbooks.html#virt-runbook-KubeVirtComponentExceedsRequestedCPU summary: The containers in the pod are using more CPU than what is defined in the containers resource requests expr: ((kube_pod_container_resource_requests{namespace="openshift-cnv",container=~"virt-controller|virt-api|virt-handler|virt-operator",resource="cpu"}) - on(pod) sum(rate(container_cpu_usage_seconds_total{container="",namespace="openshift-cnv"}[5m])) by (pod)) < 0 for: 5m labels: kubernetes_operator_component: kubevirt kubernetes_operator_part_of: kubevirt operator_health_impact: none severity: warning
Suggestions for improvement:
The url should be https://docs.openshift.com/container-platform/4.14/virt/monitoring/virt-runbooks.html#virt-runbook-KubeVirtComponentExceedsRequestedCPU
Additional information: