From e4b477a510176aff0170ef7588201b513922b893 Mon Sep 17 00:00:00 2001 From: Mayne0213 Date: Thu, 1 Jan 2026 15:27:42 +0900 Subject: [PATCH] REFACTOR(longhorn): migrate to local-path - alertmanager, grafana, loki, prometheus: storageClass -> local-path-retain - Change storage backend configuration --- alertmanager/helm-values.yaml | 2 +- grafana/helm-values.yaml | 2 +- loki/helm-values.yaml | 2 +- prometheus/helm-values.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/alertmanager/helm-values.yaml b/alertmanager/helm-values.yaml index f90baa5..76a978c 100644 --- a/alertmanager/helm-values.yaml +++ b/alertmanager/helm-values.yaml @@ -6,7 +6,7 @@ fullnameOverride: alertmanager persistence: enabled: true size: 1Gi - storageClass: longhorn # Migrated from local-path to Longhorn (replica=3) + storageClass: local-path-retain resources: requests: diff --git a/grafana/helm-values.yaml b/grafana/helm-values.yaml index 505903a..905be8f 100644 --- a/grafana/helm-values.yaml +++ b/grafana/helm-values.yaml @@ -13,7 +13,7 @@ admin: persistence: enabled: true size: 2Gi - storageClass: longhorn # Migrated to Longhorn for HA (replica=2) + storageClass: local-path-retain initChownData: enabled: false diff --git a/loki/helm-values.yaml b/loki/helm-values.yaml index 12e2c5b..0fa604d 100644 --- a/loki/helm-values.yaml +++ b/loki/helm-values.yaml @@ -40,7 +40,7 @@ singleBinary: persistence: enabled: true size: 5Gi # Reduced from 10Gi to save storage - storageClass: longhorn # Migrated from local-path to Longhorn (replica=2) + storageClass: local-path-retain resources: requests: cpu: 15m # Reduced from 50m based on actual usage (10m) diff --git a/prometheus/helm-values.yaml b/prometheus/helm-values.yaml index 26dbcfb..0b9b6ba 100644 --- a/prometheus/helm-values.yaml +++ b/prometheus/helm-values.yaml @@ -46,7 +46,7 @@ prometheus: storageSpec: volumeClaimTemplate: spec: - storageClassName: longhorn + storageClassName: local-path-retain accessModes: ["ReadWriteOnce"] resources: requests: