Expose exporter on its actual metrics port
This commit is contained in:
1 parent
c7102b8285
commit
00c2418c8d
1 file changed
+2
-2
@@ -130,7 +130,7 @@ spec:
|
||||
image: {{ .Values.monitoring.exporterImage }}
|
||||
args: [--config, /etc/mediamon/config.yaml]
|
||||
ports:
|
||||
- {name: metrics, containerPort: 8080, protocol: TCP}
|
||||
- {name: metrics, containerPort: 9090, protocol: TCP}
|
||||
startupProbe:
|
||||
httpGet: {path: /metrics, port: metrics}
|
||||
periodSeconds: 5
|
||||
@@ -182,7 +182,7 @@ spec:
|
||||
ports:
|
||||
- {name: http, port: 9091, targetPort: http, protocol: TCP}
|
||||
{{- if .Values.monitoring.enabled }}
|
||||
- {name: metrics, port: 8080, targetPort: metrics, protocol: TCP}
|
||||
- {name: metrics, port: 9090, targetPort: metrics, protocol: TCP}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
Reference in new issue
Block a user