pedro93 opened a new issue #7380: URL: https://github.com/apache/pinot/issues/7380
Currently for all resources Pinot has 2 `Service` resources, a headless and non-headless respectively. Both services are using the same helper method for the match labels: ``` metadata: name: {{ template "pinot.broker.headless" . }} labels: {{- include "pinot.brokerLabels" . | nindent 4 }} ``` This leads to a duplication of metrics when trying to use Prometheus. The solution to this is to make the labels unique, one such approach is to append the `app` label in the headless service with a suffix, i.e: `-headless`, like so: ``` labels: app: {{ include "pinot.name" . }}-headless chart: {{ include "pinot.chart" . }} component: {{ .Values.broker.name }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org