mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 15:44:33 +00:00
fix(monitoring): use correct iSCSI storage classes for Prometheus and Alertmanager
local-path does not exist on this k3s cluster. The Prometheus Operator
was stuck in a reconcile error loop, blocking all PodMonitor updates.
Prometheus: merlin-local-iscsi-prometheus (30Gi pre-existing PV)
Alertmanager: merlin-local-iscsi-alertmanager (5Gi pre-existing PV)
Grafana: remains local-path to match immutable StatefulSet VolumeClaimTemplate;
actual PVC is already bound to merlin-local-iscsi-grafana PV.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
16cc163204
commit
3848d49077
@ -29,7 +29,7 @@ alertmanager:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 5Gi
|
storage: 5Gi
|
||||||
storageClassName: local-path
|
storageClassName: merlin-local-iscsi-alertmanager
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
enabled: true
|
enabled: true
|
||||||
@ -48,6 +48,8 @@ grafana:
|
|||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
|
# StatefulSet VolumeClaimTemplate is immutable; must stay "local-path" to match the
|
||||||
|
# existing StatefulSet spec. Actual PVC binds to merlin-local-iscsi-grafana PV.
|
||||||
storageClassName: local-path
|
storageClassName: local-path
|
||||||
type: sts
|
type: sts
|
||||||
|
|
||||||
@ -123,7 +125,7 @@ prometheus:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 30Gi
|
storage: 30Gi
|
||||||
storageClassName: local-path
|
storageClassName: merlin-local-iscsi-prometheus
|
||||||
|
|
||||||
prometheus-node-exporter:
|
prometheus-node-exporter:
|
||||||
affinity:
|
affinity:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user