--- # Source: harbor/templates/service-monitor.yaml apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: redis-replication-harbor namespace: harbor labels: app.kubernetes.io/name: redis-replication-harbor app.kubernetes.io/instance: harbor app.kubernetes.io/part-of: harbor redis-operator: "true" env: production spec: selector: matchLabels: redis_setup_type: replication endpoints: - port: redis-exporter interval: 30s scrapeTimeout: 10s