From fd770bfb2f98debdf19e2f85b1f2329b2a76f624 Mon Sep 17 00:00:00 2001 From: Jimmy Ungerman <jimmy@defenseunicorns.com> Date: Mon, 15 Jul 2024 12:17:50 +0000 Subject: [PATCH] Thanos default retention --- chart/templates/thanos/values.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/chart/templates/thanos/values.yaml b/chart/templates/thanos/values.yaml index 931d886b85..751b64987d 100644 --- a/chart/templates/thanos/values.yaml +++ b/chart/templates/thanos/values.yaml @@ -54,6 +54,15 @@ networkPolicies: monitoring: enabled: {{ .Values.monitoring.enabled }} +storegateway: + enabled: true + +compactor: + enabled: true + retentionResolutionRaw: 30d + retentionResolution5m: 30d + retentionResolution1h: 10y + query: dnsDiscovery: # to allow lookups to work with and without Istio enabled, we disable k8s dns service @@ -94,6 +103,12 @@ storegateway: useEndpointGroup: true endpoint: {{ .Values.addons.thanos.objectStorage.endpoint }} +compactor: + enabled: true + retentionResolutionRaw: 30d + retentionResolution5m: 30d + retentionResolution1h: 30d + query: extraFlags: - "--endpoint=dns+monitoring-monitoring-kube-thanos-discovery.monitoring.svc.cluster.local:{{- dig "values" "query" "containerPorts" "grpc" 10901 .Values.addons.thanos }}" -- GitLab