improve thanos/prometheus retention

This commit is contained in:
2024-04-20 19:04:44 +02:00
parent 7aaeeded89
commit 76d1c51157
2 changed files with 27 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ spec:
- --log.level=debug
- --query.replica-label=replica
- --endpoint=dnssrv+_grpc._tcp.thanos-store:10901
- --endpoint=dnssrv+_grpc._tcp.prometheus:9090
ports:
- name: http
containerPort: 10902
@@ -38,6 +39,20 @@ spec:
---
apiVersion: v1
kind: Service
metadata:
name: thanos-querier
spec:
selector:
app: thanos-querier
ports:
- name: http
protocol: TCP
port: 10902
targetPort: http
- name: grpc
protocol: TCP
port: 10901
targetPort: grpc
metadata:
labels:
app: thanos-querier