diff --git a/plugins/scheduler-k3s/templates/chart/service.yaml b/plugins/scheduler-k3s/templates/chart/service.yaml index a3ed18c83..4d9f33bf3 100644 --- a/plugins/scheduler-k3s/templates/chart/service.yaml +++ b/plugins/scheduler-k3s/templates/chart/service.yaml @@ -18,7 +18,7 @@ spec: - name: {{ $port_map.name }} port: {{ $port_map.host_port }} protocol: TCP - targetPort: {{ $port_map.name }} + targetPort: {{ $port_map.container_port }} {{- end }} selector: app.kubernetes.io/instance: {{ $.Values.global.app_name }}-{{ $processName }}