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

Will kongserver how to achieve dynamic api update with the etcd or consul #1825

Closed
MagicStarTrace opened this issue Nov 16, 2016 · 3 comments

Comments

@MagicStarTrace
Copy link

Now I have the latest docker environment and a kong container that needs to be updated automatically with the etcd or consul components. Valid API functionality, I am considering using consul, what should I do now? Or kong recommended and docker with what to find and register components

@sashahilton00
Copy link

I believe this has been answered here: #1095. In short, point Kong's DNS to the server provided by Consul, or if you have multiple Consul instances, Kong -> Load Balancer -> Consul. Then just register your services on Consul as normal.

@subnetmarco
Copy link
Member

If you are running Kong in a Docker environment, please take some time to look at the official Docker Compose distribution which already registers Kong nodes automatically to both Consul and the LB: https://github.com/Mashape/docker-kong/tree/master/compose

@MagicStarTrace
Copy link
Author

Nginx role is to do load balancing kongserver?

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

3 participants