Skip to content

Conversation

@matthisholleville
Copy link
Contributor

Refactored the service port configuration in the HAProxy Helm chart to allow for more flexible and deterministic exposure of ports. This change introduces a new exposedPorts option in values.yaml, which, when specified, takes precedence over the default container ports for service exposure. This enhancement facilitates clearer and more customizable service definitions, catering to diverse deployment scenarios.


In my case, this feature enables me to expose a port within the pods to configure peers without exposing this port through my service.

For my service, I only want to expose ports 80, 443, and a few others.

Refactored the service port configuration in the HAProxy Helm chart to allow for more flexible and deterministic exposure of ports. This change introduces a new `exposedPorts` option in `values.yaml`, which, when specified, takes precedence over the default container ports for service exposure. This enhancement facilitates clearer and more customizable service definitions, catering to diverse deployment scenarios.

Signed-off-by: Matthis Holleville <[email protected]>
@dkorunic dkorunic self-assigned this Mar 7, 2024
@dkorunic dkorunic added the enhancement New feature or request label Mar 7, 2024
@tuxillo
Copy link
Contributor

tuxillo commented Sep 28, 2024

@matthisholleville could you please share how you would go about the peers configuration with your PR? As far as I know, if you have for example a Deployment, each pod of the ReplicaSet must become a peer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants