prometheus-adapter: Collect metrics from Prometheus Adapter

This commit is contained in:
Frederic Branczyk committed 2020-07-29 11:38:42 +02:00
1 parent 6771c9bcc2
commit b51b9b983f
3 files changed
+46

No files matched your search

@@ -0,0 +1,18 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
name: prometheus-adapter
name: prometheus-adapter
namespace: monitoring
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
interval: 30s
port: https
scheme: https
tlsConfig:
insecureSkipVerify: true
selector:
matchLabels:
name: prometheus-adapter