fix: update service monitor configurations to use targetPort instead of port
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
5c9f74c609
commit
7d55cdbcf9
@ -15,7 +15,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
- path: /api/_/metrics
|
- path: /api/_/metrics
|
||||||
port: {{ .Values.content.serviceMonitor.port }}
|
targetPort: {{ .Values.content.serviceMonitor.port }}
|
||||||
{{- if .Values.content.serviceMonitor.interval }}
|
{{- if .Values.content.serviceMonitor.interval }}
|
||||||
interval: {{ .Values.content.serviceMonitor.interval }}
|
interval: {{ .Values.content.serviceMonitor.interval }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@ -15,7 +15,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
- path: /api/_/metrics
|
- path: /api/_/metrics
|
||||||
port: {{ .Values.notification.serviceMonitor.port }}
|
targetPort: {{ .Values.notification.serviceMonitor.port }}
|
||||||
{{- if .Values.notification.serviceMonitor.interval }}
|
{{- if .Values.notification.serviceMonitor.interval }}
|
||||||
interval: {{ .Values.notification.serviceMonitor.interval }}
|
interval: {{ .Values.notification.serviceMonitor.interval }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@ -15,7 +15,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
- path: /api/_/metrics
|
- path: /api/_/metrics
|
||||||
port: {{ .Values.payment.serviceMonitor.port }}
|
targetPort: {{ .Values.payment.serviceMonitor.port }}
|
||||||
{{- if .Values.payment.serviceMonitor.interval }}
|
{{- if .Values.payment.serviceMonitor.interval }}
|
||||||
interval: {{ .Values.payment.serviceMonitor.interval }}
|
interval: {{ .Values.payment.serviceMonitor.interval }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user