Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow different LB listener port and target port #35

Closed
JohnPreston opened this issue Apr 23, 2020 · 1 comment · Fixed by #94
Closed

Allow different LB listener port and target port #35

JohnPreston opened this issue Apr 23, 2020 · 1 comment · Fixed by #94
Assignees
Labels
enhancement New feature or request

Comments

@JohnPreston
Copy link
Member

In some cases, it might be useful for development perspective to have a load balancer listen on one port and sent traffic to the microservice on a different one.

In the local environment, people for ports would because of ports opening do

serviceA:
  ports:
    - 8080:80
    - 8081:443

serviceB:
  ports:
    - 8180:80
    - 8181:443

that way both service A and B are exposed to the user and do not have overlapping ports.

Similarly, if a micro-service has a port defined with <port>:<port> and uses a load-balancer then the load-balancer should have a listener using the first port to target the microservice, and the second port used as the exposed port of the microservice.

@JohnPreston JohnPreston added the enhancement New feature or request label Apr 23, 2020
@JohnPreston JohnPreston self-assigned this Apr 23, 2020
@JohnPreston JohnPreston linked a pull request Jun 28, 2020 that will close this issue
@JohnPreston
Copy link
Member Author

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 a pull request may close this issue.

1 participant