mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-12-04 19:07:43 +01:00
24 lines
505 B
YAML
24 lines
505 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: ServiceMonitor
|
|
metadata:
|
|
labels:
|
|
k8s-app: kube-controller-manager
|
|
name: kube-controller-manager
|
|
namespace: monitoring
|
|
spec:
|
|
endpoints:
|
|
- interval: 30s
|
|
metricRelabelings:
|
|
- action: drop
|
|
regex: etcd_(debugging|disk|request|server).*
|
|
sourceLabels:
|
|
- __name__
|
|
port: http-metrics
|
|
jobLabel: k8s-app
|
|
namespaceSelector:
|
|
matchNames:
|
|
- kube-system
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: kube-controller-manager
|