2022-10-23 20:31:05 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
labels:
|
2023-02-22 15:04:28 +00:00
|
|
|
{{- $data := . | mustMergeOverwrite (dict "component" "metrics") -}}
|
|
|
|
{{- include "kamaji.labels" $data | nindent 4 }}
|
2023-02-07 14:35:29 +00:00
|
|
|
name: {{ include "kamaji.metricsServiceName" . }}
|
2022-10-23 20:31:05 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
|
|
|
spec:
|
|
|
|
ports:
|
2023-02-07 14:35:29 +00:00
|
|
|
- port: 8080
|
|
|
|
name: metrics
|
|
|
|
protocol: TCP
|
|
|
|
targetPort: metrics
|
2022-10-23 20:31:05 +00:00
|
|
|
selector:
|
|
|
|
{{- include "kamaji.selectorLabels" . | nindent 4 }}
|