mirror of
https://github.com/twuni/docker-registry.helm.git
synced 2026-08-27 06:17:17 +00:00
Merge pull request #51 from jsievenpiper/metrics
🌐 make protocol selection work with istio
This commit is contained in:
@@ -60,7 +60,7 @@ spec:
|
||||
- containerPort: 5000
|
||||
{{- if .Values.metrics.enabled }}
|
||||
- containerPort: {{ (split ":" .Values.configData.http.debug.addr)._1 }}
|
||||
name: metrics
|
||||
name: http-metrics
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
livenessProbe:
|
||||
|
||||
@@ -41,7 +41,7 @@ spec:
|
||||
{{- if .Values.metrics.enabled }}
|
||||
- port: {{ .Values.metrics.port }}
|
||||
protocol: TCP
|
||||
name: metrics
|
||||
name: http-metrics
|
||||
targetPort: {{ (split ":" .Values.configData.http.debug.addr)._1 }}
|
||||
{{- end }}
|
||||
selector:
|
||||
|
||||
@@ -16,6 +16,6 @@ spec:
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
endpoints:
|
||||
- port: metrics
|
||||
- port: http-metrics
|
||||
interval: 15s
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user