Skip to content

[Feature]: Allow to configure a different port for service in Helm chart #11024

@hpedrorodrigues

Description

@hpedrorodrigues

The Feature

Allow configuration of a port in the service that differs from the port in the deployment in the Helm chart.

At the moment, the same configuration is used to set the port in both the service and deployment.

service:
type: ClusterIP
port: 4000

ports:
- port: {{ .Values.service.port }}

- name: PORT
value: {{ .Values.service.port | quote}}

ports:
- name: http
containerPort: {{ .Values.service.port }}

Motivation, pitch

With this change, port 80 for the service can be set, while any desired port can be set in the deployment. This will make the configuration for clients easier since they won't need to worry about the port in the URI.

Are you a ML Ops Team?

Yes

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions