rpi.carlosedp.cluster-monit.../manifests/prometheus-operator-serviceMonitor.yaml

23 lines
621 B
YAML
Raw Normal View History

2018-03-02 01:03:53 +01:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
2019-08-08 22:09:53 +02:00
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
2020-05-26 17:59:47 +02:00
app.kubernetes.io/version: v0.39.0
name: prometheus-operator
namespace: monitoring
2018-03-02 01:03:53 +01:00
spec:
endpoints:
2020-05-26 17:59:47 +02:00
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
honorLabels: true
port: https
scheme: https
tlsConfig:
insecureSkipVerify: true
2018-03-02 01:03:53 +01:00
selector:
matchLabels:
2019-08-08 22:09:53 +02:00
app.kubernetes.io/component: controller
app.kubernetes.io/name: prometheus-operator
2020-05-26 17:59:47 +02:00
app.kubernetes.io/version: v0.39.0