mirror of
https://github.com/lukaszraczylo/helm-charts.git
synced 2026-06-29 04:43:06 +00:00
20 lines
500 B
YAML
20 lines
500 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "kubemirror.fullname" . }}-metrics
|
|
labels:
|
|
{{- include "kubemirror.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- name: metrics
|
|
port: {{ .Values.service.metricsPort }}
|
|
targetPort: metrics
|
|
protocol: TCP
|
|
- name: health
|
|
port: {{ .Values.service.healthPort }}
|
|
targetPort: health
|
|
protocol: TCP
|
|
selector:
|
|
{{- include "kubemirror.selectorLabels" . | nindent 4 }}
|