Skip to content

Instantly share code, notes, and snippets.

@zmx
Created March 4, 2024 06:33
Show Gist options
  • Save zmx/ce91750bcc4c80cb34bc24de7c426f19 to your computer and use it in GitHub Desktop.
Save zmx/ce91750bcc4c80cb34bc24de7c426f19 to your computer and use it in GitHub Desktop.
Prometheus Operator Blackbox Exporter Auto Discover Ingress
apiVersion: monitoring.coreos.com/v1
kind: Probe
metadata:
name: tls-probe
namespace: monitoring
spec:
interval: 60s
module: http_2xx
prober:
path: /probe
url: prometheus-blackbox-exporter.monitoring.svc.cluster.local:9115
targets:
ingress:
namespaceSelector:
any: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment