allow to configure shuffle worker port

Signed-off-by: Pascal Sthamer <pascal+github@sthamer.xyz>
This commit is contained in:
Pascal Sthamer
2025-12-05 15:58:29 +01:00
parent 7e4aee548b
commit 49c996bcf2
5 changed files with 138 additions and 12 deletions
@@ -106,6 +106,8 @@ spec:
resources: {{- include "common.resources.preset" (dict "type" .Values.worker.resourcesPreset) | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.worker.containerPorts.http }}
{{- if .Values.worker.extraContainerPorts }}
{{- include "common.tplvalues.render" (dict "value" .Values.worker.extraContainerPorts "context" $) | nindent 12 }}
{{- end }}
@@ -13,10 +13,10 @@ spec:
type: ClusterIP
ports:
- name: http
port: 33333
targetPort: 33333
port: {{ .Values.worker.containerPorts.http }}
targetPort: http
protocol: TCP
appProtocol: http
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.worker.podLabels .Values.commonLabels ) "context" . ) }}
selector: {{- include "shuffle.workerInstance.matchLabels" (dict "customLabels" $podLabels "context" .) | nindent 4 }}
{{- end }}
{{- end }}