add redis replciation
Some checks failed
lint-test-helm / helm-lint (push) Successful in 9s
renovate / renovate (push) Has been cancelled

This commit is contained in:
2025-07-29 18:53:36 -05:00
parent c78c576933
commit 57c8b22491
2 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: redis-replication-yamtrack
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: redis-replication-yamtrack
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
redis-operator: "true"
env: production
spec:
selector:
matchLabels:
redis_setup_type: replication
endpoints:
- port: redis-exporter
interval: 30s
scrapeTimeout: 10s