mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
20 lines
343 B
YAML
20 lines
343 B
YAML
|
apiVersion: monitoring.coreos.com/v1
|
||
|
kind: ServiceMonitor
|
||
|
metadata:
|
||
|
labels:
|
||
|
k8s-app: fluentd-es
|
||
|
name: fluentd-es
|
||
|
namespace: monitoring
|
||
|
spec:
|
||
|
endpoints:
|
||
|
- interval: 30s
|
||
|
port: metrics
|
||
|
scheme: http
|
||
|
jobLabel: k8s-app
|
||
|
namespaceSelector:
|
||
|
matchNames:
|
||
|
- logging
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
k8s-app: fluentd-es
|