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 2022/07/15 03:14:39 UTC

[GitHub] [apisix] wyaow opened a new issue, #7469: How to config load balance in apisix.yam in standalone mode

wyaow opened a new issue, #7469:
URL: https://github.com/apache/apisix/issues/7469

   ### Description
   
   routes:
       -
           uri: /hello
           service_id: 1
   services:
       -
           id: 1
           upstream_id: 2
   upstreams:
       -
           id: 2
           nodes:
               "127.0.0.1:1980": 1
           type: roundrobin
   #END
   
   how could i config another upstream to same router.
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - 2.11.0
   - Operating system (run `uname -a`):
   - ubuntu
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): 
   - nginx version: openresty/1.19.9.1
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - {"last_report_time":-1,"version":"2.11.0","id":"73a51270-e056-4cf0-93e6-437ad922a23b","hostname":"host-weiyao","boot_time":1657854122,"etcd_version":"unknown","up_time":590}
   - 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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] wyaow commented on issue #7469: How to config load balance in apisix.yaml in standalone mode

Posted by GitBox <gi...@apache.org>.
wyaow commented on issue #7469:
URL: https://github.com/apache/apisix/issues/7469#issuecomment-1186705687

   it's ok . tks.
   ----------------------------
   upstreams:
     -
       id: 1
       nodes:
         "127.0.0.1:12345": 1
         "127.0.0.1:12346": 1


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tokers commented on issue #7469: How to config load balance in apisix.yam in standalone mode

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7469:
URL: https://github.com/apache/apisix/issues/7469#issuecomment-1186081716

   You mean you want to control the target upstream for requests matched the same route? If so, try to use the traffic-split plugin.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] wyaow closed issue #7469: How to config load balance in apisix.yaml in standalone mode

Posted by GitBox <gi...@apache.org>.
wyaow closed issue #7469: How to config load balance in apisix.yaml in standalone mode
URL: https://github.com/apache/apisix/issues/7469


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org