From 614d14c47de0617c7905f88d11edef7fcbb467cc Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Fri, 6 Mar 2026 23:16:32 +0000 Subject: [PATCH] [ci skip] expand Prometheus PVC to 200Gi, increase retention to 180GB for 1-year history MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Storage analysis: ~10.5 GB/month ingestion rate, 1 year = ~125 GB + overhead. PVC: 30Gi → 200Gi, retention.size: 45GB → 180GB. Historical TSDB data restored from NFS (39.8 GB total including all blocks). --- stacks/platform/modules/monitoring/prometheus.tf | 2 +- stacks/platform/modules/monitoring/prometheus_chart_values.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stacks/platform/modules/monitoring/prometheus.tf b/stacks/platform/modules/monitoring/prometheus.tf index 62f7ca5e..4b8283eb 100644 --- a/stacks/platform/modules/monitoring/prometheus.tf +++ b/stacks/platform/modules/monitoring/prometheus.tf @@ -11,7 +11,7 @@ resource "kubernetes_persistent_volume_claim" "prometheus_server_pvc" { storage_class_name = "iscsi-truenas" resources { requests = { - storage = "30Gi" + storage = "200Gi" } } } diff --git a/stacks/platform/modules/monitoring/prometheus_chart_values.tpl b/stacks/platform/modules/monitoring/prometheus_chart_values.tpl index 1c06c0ff..4d6d7057 100755 --- a/stacks/platform/modules/monitoring/prometheus_chart_values.tpl +++ b/stacks/platform/modules/monitoring/prometheus_chart_values.tpl @@ -114,7 +114,7 @@ server: # - "web.enable-admin-api" - "web.enable-lifecycle" - "storage.tsdb.allow-overlapping-blocks" - - "storage.tsdb.retention.size=45GB" + - "storage.tsdb.retention.size=180GB" - "storage.tsdb.wal-compression" persistentVolume: # enabled: false