feat(prometheus): scale up storage to 100Gi and move to worker-1
- Increase PVC from 20Gi to 100Gi (talos-cp-1 disk full) - Move from az-a (talos-cp-1) to worker-1 (648GB available) - Increase retention from 15d to 30d (95GB limit) - Fixes Prometheus pod restarts due to disk pressure
This commit is contained in:
@@ -54,8 +54,8 @@ alertmanager:
|
||||
# ── Prometheus ────────────────────────────────────────────────────────────────
|
||||
prometheus:
|
||||
prometheusSpec:
|
||||
retention: 15d
|
||||
retentionSize: "18GB"
|
||||
retention: 30d
|
||||
retentionSize: "95GB"
|
||||
|
||||
# scrapeTimeout MUST be <= scrapeInterval or the operator refuses to generate
|
||||
# the Prometheus config ("scrapeTimeout greater than scrapeInterval") and no
|
||||
@@ -64,10 +64,9 @@ prometheus:
|
||||
scrapeTimeout: 60s
|
||||
evaluationInterval: 30s
|
||||
|
||||
# Pin to az-a (talos-cp-1) — sole Longhorn node; else the RWO PVC can't
|
||||
# attach on cp-2/cp-3 (CSINode lacks driver.longhorn.io).
|
||||
# Pin to worker-1 for more storage capacity
|
||||
nodeSelector:
|
||||
topology.kubernetes.io/zone: az-a
|
||||
kubernetes.io/hostname: worker-1
|
||||
|
||||
# Persistent storage — metrics survive node reboots and pod restarts.
|
||||
# Uses the default `longhorn` StorageClass; nodeSelector above already pins
|
||||
@@ -79,7 +78,7 @@ prometheus:
|
||||
accessModes: ["ReadWriteOnce"]
|
||||
resources:
|
||||
requests:
|
||||
storage: 20Gi
|
||||
storage: 100Gi
|
||||
|
||||
resources:
|
||||
requests:
|
||||
|
||||
Reference in New Issue
Block a user