Skip to content

Commit

Permalink
Expose metrics port by default
Browse files Browse the repository at this point in the history
to be able to use pod's scrape by vmagent
  • Loading branch information
Ruslan Khizhnyak committed Dec 2, 2024
1 parent d3570c6 commit 64cc3ba
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,9 @@ spec:
- name: http
containerPort: {{ .Values.service.targetPort }}
protocol: TCP
{{- if .Values.serviceMonitor.enabled }}
- name: metrics
containerPort: {{ .Values.serviceMonitor.targetPort }}
protocol: TCP
{{- end }}
{{- with .Values.livenessProbe }}
livenessProbe: {{ toYaml . | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit 64cc3ba

Please sign in to comment.