homelab/archive/2022.07.bxl-k3s-pi/utils/monitoring/blackbox-exporter/blackboxExporter-service.yaml

23 lines
540 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/component: exporter
app.kubernetes.io/name: blackbox-exporter
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.20.0
name: blackbox-exporter
namespace: monitoring
spec:
ports:
- name: https
port: 9115
targetPort: https
- name: probe
port: 19115
targetPort: http
selector:
app.kubernetes.io/component: exporter
app.kubernetes.io/name: blackbox-exporter
app.kubernetes.io/part-of: kube-prometheus