~xdavidwu/flux

1c68dacb3938e1c125c6e297e06c319be796f607 — Pinghao Wu 20 days ago 53d4dbf
prometheus: prepare for thanos
1 files changed, 7 insertions(+), 0 deletions(-)

M monitoring/prometheus/deployment.yaml
M monitoring/prometheus/deployment.yaml => monitoring/prometheus/deployment.yaml +7 -0
@@ 11,6 11,13 @@ spec:
      containers:
        - name: prometheus
          image: quay.io/prometheus/prometheus:v3.1.0
          args:
            - --config.file=/etc/prometheus/prometheus.yml
            - --storage.tsdb.path=/prometheus
            - --storage.tsdb.retention.time=1w
            # leave compaction to thanos
            - --storage.tsdb.min-block-duration=2h
            - --storage.tsdb.max-block-duration=2h
          volumeMounts:
            - name: configs
              mountPath: /etc/prometheus