1024-zzw opened a new issue, #7595:
URL: https://github.com/apache/apisix/issues/7595

   ### Description
   
   1.路由1
   {
     "uri": "/test-boot/*",
     "name": "AutoRouterUpstream_TEST-BOOT",
     "desc": "",
     "hosts": [
       "apisix-gateway-ew.apisix.svc.cluster.local"
     ],
     "plugins": {
       "proxy-rewrite": {
         "regex_uri": [
           "^/test-boot/(.*)",
           "/${1}"
         ]
       }
     },
     "upstream": {
       "type": "roundrobin",
       "hash_on": "vars",
       "scheme": "http",
       "discovery_type": "eureka",
       "pass_host": "pass",
       "service_name": "TEST-BOOT"
     },
     "labels": {
       "prefix": "AutoRouterUpstream_"
     },
     "status": 1
   }
   2.路由2
   {
     "uri": "/test-boot/*",
     "name": "AutoRouterUpstream_TEST-BOOT",
     "desc": "",
     "hosts": [
       "apisix-gateway-ew.apisix.svc.cluster.local"
     ],
     "plugins": {
       "proxy-rewrite": {
         "regex_uri": [
           "^/test-boot/(.*)",
           "/${1}"
         ]
       }
     },
     "upstream": {
       "type": "roundrobin",
       "hash_on": "vars",
       "scheme": "http",
       "discovery_type": "eureka",
       "pass_host": "pass",
       "service_name": "TEST-BOOT"
     },
     "labels": {
       "prefix": "AutoRouterUpstream_"
     },
     "status": 1
   }
   
   3.上面两个路由仅仅只是Route ID不一样。我们的集群中,早上访问对应路由的时候,apisix选择的是路由1;下午apisix给切换
   成路由2了。请问是否有相关负载均衡呢?里面对于相同路由的选择是怎样的算法呢
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to