blackbox-exporter: Add probe port to Service

This commit is contained in:
Frederic Branczyk
2020-12-31 15:05:18 +01:00
parent 2984ca585c
commit 6501366ff8
4 changed files with 18 additions and 7 deletions

View File

@@ -8,8 +8,11 @@ metadata:
namespace: monitoring
spec:
ports:
- name: http
- name: https
port: 9115
targetPort: https
- name: probe
port: 19115
targetPort: http
selector:
app.kubernetes.io/name: blackbox-exporter

View File

@@ -11,7 +11,7 @@ spec:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
interval: 30s
path: /metrics
port: http
port: https
scheme: https
tlsConfig:
insecureSkipVerify: true