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

[request] Load-balancer to register mutliple service urls with the same service name #252

Closed
toast38coza opened this issue May 20, 2015 · 4 comments

Comments

@toast38coza
Copy link

For example. Assume I have two app servers for UserService.

1.2.3.4
1.2.3.5

It would be great if I could register each of these with kong - using the same public_dns and name.

e.g.:

1.2.3.4

curl -i -X POST \
  --url http://localhost:8001/apis/ \
  --data 'name=userservice' \
  --data 'target_url=http://1.2.3.4/' \
  --data 'public_dns=userservice.com'

1.2.3.5

curl -i -X POST \
  --url http://localhost:8001/apis/ \
  --data 'name=userservice' \
  --data 'target_url=http://1.2.3.5/' \
  --data 'public_dns=userservice.com'

Then: a request, for example:

curl -i -X GET \
  --url http://localhost:8000/ \
  --header 'Host: userservice.com'

Would be shared between the two backend appservers.

@subnetmarco
Copy link
Member

Related to #157

@sonicaghi sonicaghi changed the title It would be great if kong could act as a load-balancer if you register mutliple service urls with the same service name [request] Load-balancer to register mutliple service urls with the same service name May 23, 2015
@pasviegas
Copy link

+1

@allynalford
Copy link

Did this happen, i see it's closed.. I'm actually looking into this right now..

@thibaultcha
Copy link
Member

This was a duplicate of #157

hutchic added a commit that referenced this issue Jun 10, 2022
* add docs folder

* docs(diagrams) upload some draw.io diagrams

* docs(diagrams) updated the diagrams so they're more readable

* docs(diagrams) integrate the diagrams into the README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants