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/02/17 07:21:52 UTC

[GitHub] [apisix] purekeeper opened a new issue #6350: request help: Does API6 support upstream backup directive ?

purekeeper opened a new issue #6350:
URL: https://github.com/apache/apisix/issues/6350


   ### Issue description
   
   Does API6 support upstream backup directive
   
   upstream {
   server aa.xx.xx.com;
   server bb.xx.com backup;
   }
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `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

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



[GitHub] [apisix] spacewander closed issue #6350: request help: Does API6 support upstream backup directive ?

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #6350:
URL: https://github.com/apache/apisix/issues/6350


   


-- 
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] spacewander commented on issue #6350: request help: Does API6 support upstream backup directive ?

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


   We can use `priority` in the `nodes`:
   
   > Each node can be configured with a priority. A node with low priority will only be used when all the nodes with higher priority are unavailable or tried.
   > As the default priority is 0, we can configure nodes with negative priority as the backup.
   
   https://apisix.apache.org/docs/apisix/admin-api#request-body-parameters-3


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