Add blackboxexporter
This commit is contained in:
parent
0ad1aae355
commit
905d5a2d09
@ -0,0 +1,18 @@
|
||||
{{- define "blackboxexporter.svc" }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: pushgateway
|
||||
labels:
|
||||
app.kubernetes.io/name: blackbox-exporter
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 9115
|
||||
protocol: TCP
|
||||
targetPort: 9115
|
||||
selector:
|
||||
app.kubernetes.io/name: blackbox-exporter
|
||||
type: ClusterIP
|
||||
{{- end }}
|
@ -4,6 +4,13 @@
|
||||
{{- template "alertmanager.alertmanager" . }}
|
||||
{{- end }}
|
||||
|
||||
# blackboxexporter
|
||||
{{- if .Values.blackboxexporter.enabled }}
|
||||
{{- template "blackboxexporter.cm" . }}
|
||||
{{- template "blackboxexporter.deploy" . }}
|
||||
{{- template "blackboxexporter.svc" . }}
|
||||
{{- end }}
|
||||
|
||||
# grafana
|
||||
{{- if .Values.grafana.enabled }}
|
||||
{{- template "grafana.datasource" . }}
|
||||
|
@ -21,6 +21,10 @@ grafana:
|
||||
# pushgateway
|
||||
pushgateway:
|
||||
enabled: false
|
||||
|
||||
# blackboxexporter
|
||||
blackboxexporter:
|
||||
enabled: false
|
||||
|
||||
# alertmanager
|
||||
alertmanager:
|
||||
|
Loading…
x
Reference in New Issue
Block a user