You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/06/01 17:04:07 UTC
[GitHub] [apisix] liujin1993 opened a new issue #4356: request help: route discovery
liujin1993 opened a new issue #4356:
URL: https://github.com/apache/apisix/issues/4356
### 描述
我们使用nginx做的网关,后端有很多微服务。目前维护了近百个配置文件,每天要花费很多时间在配置路由上。
之前迁移了一部分服务到apisix,apisix对接eureka后,实现了upstream的自动发现,但是还是要手动配置路由。
所以想请教下,apisix有没有**路由发现**的功能,即:服务将自己的ip和route注册到eureka,apisix对接eureka自动生成upstream和route
可以参考traefik,也有点像xDS协议中的rDS

### description
We use nginx as gateway, and maintain hundreds of config files because of a large number of micro services.
Rencently we migrate some service from nginx to apisix. We use eureka as registry center, and apisix can generate upstreams automatically. However, route can not be generated automatically.
I wonder that if apisix have route discovery like traefik.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] wanyuetian commented on issue #4356: request help: route discovery
Posted by GitBox <gi...@apache.org>.
wanyuetian commented on issue #4356:
URL: https://github.com/apache/apisix/issues/4356#issuecomment-852820029
I think this is a good feature. It can make it more easy to help ops to manger their micro service.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #4356: request help: route discovery
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #4356:
URL: https://github.com/apache/apisix/issues/4356#issuecomment-857326636
@wanyuetian @tylitianrui @liujin1993
We can extend https://github.com/api7/apisix-mesh-agentto support more discovery sources.
CC @tokers @lingsamuel
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander edited a comment on issue #4356: request help: route discovery
Posted by GitBox <gi...@apache.org>.
spacewander edited a comment on issue #4356:
URL: https://github.com/apache/apisix/issues/4356#issuecomment-857326636
@wanyuetian @tylitianrui @liujin1993
We can extend https://github.com/api7/apisix-mesh-agent to support more discovery sources.
CC @tokers @lingsamuel
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tzssangglass commented on issue #4356: request help: route discovery
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #4356:
URL: https://github.com/apache/apisix/issues/4356#issuecomment-852325086
Now it is not. I have a question, if apisix gets route from eureka, what route is configured on apisix?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tylitianrui commented on issue #4356: request help: route discovery
Posted by GitBox <gi...@apache.org>.
tylitianrui commented on issue #4356:
URL: https://github.com/apache/apisix/issues/4356#issuecomment-856844831
@spacewander why not establish a new standard of it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #4356: request help: route discovery
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #4356:
URL: https://github.com/apache/apisix/issues/4356#issuecomment-852608995
It seems there is no standard way to discover routes. But you can write a tool to do it according to your own requirement.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tokers commented on issue #4356: request help: route discovery
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #4356:
URL: https://github.com/apache/apisix/issues/4356#issuecomment-857611562
> @wanyuetian @tylitianrui @liujin1993
> We can extend https://github.com/api7/apisix-mesh-agent to support more discovery sources.
> CC @tokers @lingsamuel
Yep, actually @lingsamuel already works on this, see https://github.com/api7/apisix-mesh-agent/pull/64 for the details.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org