diff --git a/config/clusters/2i2c/support.values.yaml b/config/clusters/2i2c/support.values.yaml index 7c2222cc1a..4811af9493 100644 --- a/config/clusters/2i2c/support.values.yaml +++ b/config/clusters/2i2c/support.values.yaml @@ -7,6 +7,17 @@ prometheusStorageClass: prometheus: server: + defaultFlagsOverride: + - -c + - "rm -rvf /data/wal/* && \ + exec /bin/prometheus \ + --storage.tsdb.retention.time=732d \ + --config.file=/etc/config/prometheus.yml \ + --storage.tsdb.path=/data \ + --web.console.libraries=/etc/prometheus/console_libraries \ + --web.console.templates=/etc/prometheus/consoles \ + --web.enable-lifecycle" + retention: 732d # Keep data for at least 2 year persistentVolume: # 100Gi filled up, and this is source of our billing data. size: 512Gi diff --git a/helm-charts/support/values.yaml b/helm-charts/support/values.yaml index 6451176f4b..8472f5d7ab 100644 --- a/helm-charts/support/values.yaml +++ b/helm-charts/support/values.yaml @@ -164,6 +164,8 @@ prometheus: - /bin/sh defaultFlagsOverride: - -c + # If changing this, please also find wherever this has been copied to and change + # those as well as appropriate - "rm -rvf /data/wal/* && \ exec /bin/prometheus \ --storage.tsdb.retention.time=366d \