Add the redacted source file for demo purposes Reviewed-on: https://source.michaeldileo.org/michael_dileo/Keybard-Vagabond-Demo/pulls/1 Co-authored-by: Michael DiLeo <michael_dileo@proton.me> Co-committed-by: Michael DiLeo <michael_dileo@proton.me>
24 lines
503 B
YAML
24 lines
503 B
YAML
---
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
name: redis-metrics
|
|
namespace: redis-system
|
|
labels:
|
|
app: redis
|
|
app.kubernetes.io/name: redis
|
|
app.kubernetes.io/component: metrics
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: redis
|
|
app.kubernetes.io/component: metrics
|
|
endpoints:
|
|
- port: http-metrics
|
|
interval: 30s
|
|
scrapeTimeout: 10s
|
|
path: /metrics
|
|
scheme: http
|
|
namespaceSelector:
|
|
matchNames:
|
|
- redis-system |