23 lines
550 B
YAML
23 lines
550 B
YAML
apiVersion: monitoring.coreos.com/v1
|
|
kind: Probe
|
|
metadata:
|
|
name: blackbox-exporter-http
|
|
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:
|
|
probe: blackbox-http
|
|
relabelingConfigs:
|
|
- action: replace
|
|
sourceLabels: [__meta_kubernetes_ingress_label_app_kubernetes_io_name]
|
|
targetLabel: service
|