Merge pull request #51 from jsievenpiper/metrics

🌐 make protocol selection work with istio
This commit is contained in:
Devin Canterberry
2022-01-30 19:10:37 -08:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -16,6 +16,6 @@ spec:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
endpoints:
- port: metrics
- port: http-metrics
interval: 15s
{{- end }}