Skip to content
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

sync: master to stage #194

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/prometheus/prometheus-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ spec:
record: rhacs_operator:namespace:workload:container:max_memory_usage_ratio
- alert: RHACSOperatorMemoryUtilizationHigh
expr: |
rhacs_operator:namespace:workload:container:max_memory_usage_ratio > 0.6
rhacs_operator:namespace:workload:container:max_memory_usage_ratio > 0.7
for: 5m
labels:
severity: warning
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tests:
- series: kube_pod_labels{namespace="rhacs",label_app="rhacs-operator",pod="operator-pod"}
values: "1+0x20"
- series: container_memory_max_usage_bytes{namespace="rhacs", pod="operator-pod",container="manager"}
values: "50+0x10 70+0x10"
values: "50+0x10 80+0x10"
- series: container_spec_memory_limit_bytes{namespace="rhacs",pod="operator-pod",container="manager"}
values: "100+0x20"
alert_rule_test:
Expand All @@ -28,7 +28,7 @@ tests:
workload: operator-workload
container: manager
exp_annotations:
description: The container 'manager' in operator 'operator-workload' reached 70% of its memory limit and is at risk of being OOM killed.
description: The container 'manager' in operator 'operator-workload' reached 80% of its memory limit and is at risk of being OOM killed.
summary: "The container 'manager' in operator 'operator-workload' is reaching its memory limit."
sop_url: "https://gitlab.cee.redhat.com/stackrox/acs-managed-service-runbooks/blob/master/sops/dp-037-operator-memory-high.md"
- interval: 1m
Expand Down
Loading