fix(prometheus): use longhorn StorageClass, drop nonexistent longhorn-wffc — Prometheus CR requested storageClass longhorn-wffc which doesn't exist (deprecated), so operator never created the StatefulSet (Reconciled=False, no metrics server)
This commit is contained in:
@@ -42,12 +42,12 @@ prometheus:
|
||||
topology.kubernetes.io/zone: az-a
|
||||
|
||||
# Persistent storage — metrics survive node reboots and pod restarts.
|
||||
# longhorn-wffc (WaitForFirstConsumer) binds after scheduling so the volume
|
||||
# lands on the node the pod runs on.
|
||||
# Uses the default `longhorn` StorageClass; nodeSelector above already pins
|
||||
# the pod to az-a (the sole Longhorn node), so Immediate binding is fine.
|
||||
storageSpec:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
storageClassName: longhorn-wffc
|
||||
storageClassName: longhorn
|
||||
accessModes: ["ReadWriteOnce"]
|
||||
resources:
|
||||
requests:
|
||||
|
||||
Reference in New Issue
Block a user