tokers commented on issue #645:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/645#issuecomment-950254380


   > Since [apache/apisix#4906](https://github.com/apache/apisix/issues/4906) 
issue is fixed, trying to test add `ExternalName` support, and add `passHost` 
option in type ApisixUpstreamConfig struct, it works as expected with one k8s 
svc(type: ExternalName). 👍
   > 
   > Here comes to another question when have two nodes in the same apisix 
upstream, in k8s scenario, it is appending all endpoints to the list of node as 
code 
https://github.com/apache/apisix-ingress-controller/blob/master/pkg/kube/translation/translator.go#L238.
   > 
   > However in my case, I would like to have two external urls falling in the 
same node list, more detailed example could be found in this gist 
https://gist.github.com/elvis-cai/368ea541d3b9b7c66a8757e5017286b9#file-gistfile1-txt-L21,
 comments are the yaml file to apply, the output will be two apisix upstreams 
created, not sure what is the best way to have banana and apple url in the same 
node list.
   
   It would be tough to do this as both the backend are outside of the 
Kubernetes cluster, unless we can write the backend address directly in the 
ApisixRoute resource.


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