From 64cc3ba3761be5f8e9d8f0e023ec84bf1362ca71 Mon Sep 17 00:00:00 2001 From: Ruslan Khizhnyak Date: Mon, 2 Dec 2024 09:52:05 +0300 Subject: [PATCH] Expose metrics port by default to be able to use pod's scrape by vmagent --- templates/deployment.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 797f89f..00b586d 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -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 }}