prometheus: increase memory to 4Gi and probe delays for TSDB compaction
Compaction of 5 years of TSDB blocks was OOM-killing at 3Gi (18 restarts in 8h), causing sustained IO pressure on the PVE host spinning disk. Increase liveness probe delay to 300s so WAL replay completes before the probe kills the pod.
This commit is contained in:
parent
43b49f7f6c
commit
fca4e02c54
1 changed files with 4 additions and 2 deletions
|
|
@ -153,9 +153,11 @@ server:
|
|||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 3Gi
|
||||
memory: 4Gi
|
||||
limits:
|
||||
memory: 3Gi
|
||||
memory: 4Gi
|
||||
livenessProbeInitialDelay: 300
|
||||
readinessProbeInitialDelay: 60
|
||||
strategy:
|
||||
type: Recreate
|
||||
baseURL: "https://prometheus.viktorbarzin.me"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue