add source code and readme
This commit is contained in:
24
manifests/infrastructure/redis/bitnami/monitoring.yaml
Normal file
24
manifests/infrastructure/redis/bitnami/monitoring.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
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
|
||||
Reference in New Issue
Block a user