1
0
Fork 0
home-stack-kustomize/kustomize/namespaces/monitoring/probes/blackbox-exporter.yaml

23 lines
547 B
YAML
Raw Normal View History

2021-09-06 17:24:55 +00:00
apiVersion: monitoring.coreos.com/v1
kind: Probe
metadata:
2021-09-06 23:45:09 +00:00
name: blackbox-exporter-http
2021-09-06 17:24:55 +00:00
labels:
app.kubernetes.io/name: blackbox-exporter
monitor: prometheus
spec:
module: http_2xx
prober:
url: blackbox-exporter.monitoring.svc:9115
targets:
ingress:
namespaceSelector:
any: true
selector:
matchLabels:
2021-09-06 23:45:09 +00:00
probe: blackbox-http
relabelingConfigs:
- action: replace
sourceLabels: [__meta_kubernetes_ingress_label_app_kubernetes_io_name]
targetLabel: name