Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(blackbox): #4921

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/prometheus-blackbox-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: Prometheus Blackbox Exporter
name: prometheus-blackbox-exporter
version: 9.0.1
version: 9.0.2
appVersion: v0.25.0
kubeVersion: ">=1.21.0-0"
home: https://github.com/prometheus/blackbox_exporter
Expand Down
6 changes: 6 additions & 0 deletions charts/prometheus-blackbox-exporter/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,17 @@ spec:
targetPort: http
protocol: TCP
name: http
{{- if and .Values.service.nodePort ( eq .Values.service.type "NodePort" ) }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
{{ if .Values.configReloader.enabled }}
- port: {{ .Values.configReloader.service.port }}
targetPort: reloader-web
protocol: TCP
name: reloader-web
{{- if and .Values.configReloader.service.nodePort ( eq .Values.service.type "NodePort" ) }}
nodePort: {{ .Values.configReloader.service.nodePort }}
{{- end }}
{{- end }}
{{- if .Values.service.externalIPs }}
externalIPs:
Expand Down
2 changes: 2 additions & 0 deletions charts/prometheus-blackbox-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ service:
labels: {}
type: ClusterIP
port: 9115
# nodePort: 32123
ipDualStack:
enabled: false
ipFamilies: ["IPv6", "IPv4"]
Expand Down Expand Up @@ -467,6 +468,7 @@ configReloader:
scheme: HTTP
service:
port: 8080
# nodePort: 32124
serviceMonitor:
selfMonitor:
additionalMetricsRelabels: {}
Expand Down