Skip to content

Commit

Permalink
revert to putting max memory manually
Browse files Browse the repository at this point in the history
  • Loading branch information
ssb-jnk committed Jan 10, 2025
1 parent 3ae7013 commit 3ee443c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .nais/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ spec:
namespace: dapla-stat
severity: warning

# This alert checks if memory usage exceeds 90% of the memory limit assigned to the pseudo-service pod.
# This alert checks if memory usage exceeds 90% of the 12GB limit, which could cause instability.
- alert: HighMemoryUsage
expr: process_resident_memory_bytes{app="pseudo-service"} > (0.9 * on(app) group_left(container_memory_limit_bytes) container_memory_limit_bytes{app="pseudo-service"})
expr: process_resident_memory_bytes{app="pseudo-service"} > (0.9 * 12 * 1024 * 1024 * 1024)
for: 5m
annotations:
title: "High memory usage detected"
Expand Down

0 comments on commit 3ee443c

Please sign in to comment.