You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "jinjianming (via GitHub)" <gi...@apache.org> on 2023/04/03 06:58:48 UTC
[GitHub] [apisix] jinjianming opened a new issue, #9224: help request: ApisixUpstream How to assign different ports to different loadbalancer
jinjianming opened a new issue, #9224:
URL: https://github.com/apache/apisix/issues/9224
### Description
For the following example, I want 'scheme: grpc' to be a roundrobin and 'scheme: http' to be a hash
```
apiVersion: apisix.apache.org/v1
kind: ApisixUpstream
metadata:
name: foo
spec:
loadbalancer:
type: roundrobin
portLevelSettings:
- port: 7000
scheme: http
- port: 7001
scheme: grpc
```
### 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: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Sn0rt commented on issue #9224: help request: ApisixUpstream How to assign different ports to different loadbalancer
Posted by "Sn0rt (via GitHub)" <gi...@apache.org>.
Sn0rt commented on issue #9224:
URL: https://github.com/apache/apisix/issues/9224#issuecomment-1517326446
@tao12345666333
--
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] tao12345666333 commented on issue #9224: help request: ApisixUpstream How to assign different ports to different loadbalancer
Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #9224:
URL: https://github.com/apache/apisix/issues/9224#issuecomment-1517358330
Only one load balancing algorithm can be configured in one ApisixUpstream. Do you have any specific scenario?
--
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] jinjianming commented on issue #9224: help request: ApisixUpstream How to assign different ports to different loadbalancer
Posted by "jinjianming (via GitHub)" <gi...@apache.org>.
jinjianming commented on issue #9224:
URL: https://github.com/apache/apisix/issues/9224#issuecomment-1585745508
>
My same service may have multiple ports, port a needs to be polled, and port b needs to be hashed to achieve specific effects
--
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