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/01/26 04:30:23 UTC

[GitHub] [apisix-ingress-controller] purekeeper opened a new issue #847: request help: I want to change upstream

purekeeper opened a new issue #847:
URL: https://github.com/apache/apisix-ingress-controller/issues/847


   ### Issue description
   
   英语不好,直接中文了哈,我定义了个ApisixRoute 里面的 backend 是 test-server,  同时我也自定义了一个插件 用来计算一个请求要不要转发到其它domain,这个我怎么实现转发到其它domain呢?是更改up_conf配置吗
   
   ### Environment
   
   - your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
   - your Kubernetes cluster version (output of kubectl version):
   - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
   


-- 
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-ingress-controller] purekeeper closed issue #847: request help: I want to change upstream

Posted by GitBox <gi...@apache.org>.
purekeeper closed issue #847:
URL: https://github.com/apache/apisix-ingress-controller/issues/847


   


-- 
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-ingress-controller] purekeeper commented on issue #847: request help: I want to change upstream

Posted by GitBox <gi...@apache.org>.
purekeeper commented on issue #847:
URL: https://github.com/apache/apisix-ingress-controller/issues/847#issuecomment-1022035003


   @tokers   Thant's right, I'm reading the code and success do it ,thanks!


-- 
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-ingress-controller] tokers commented on issue #847: request help: I want to change upstream

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


   It seems like your problem is about how to write a plugin to change some request behaviors, for this purpose, you need to read some source code of Apache APISIX, or checking our some other plugins.
   
   The behaviors are just like the traffic split, you may also check out the traffic split plugin, or, you can define a few routes in `ApisixRoutes`, and assign different match rules for them.


-- 
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-ingress-controller] tao12345666333 commented on issue #847: request help: I want to change upstream

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #847:
URL: https://github.com/apache/apisix-ingress-controller/issues/847#issuecomment-1021860720


   If I understand correctly, you probably need the ability of `proxy-rewrite` or `redirect` plugin?
   
   You can refer to these cases
   
   * https://github.com/apache/apisix-ingress-controller/blob/master/test/e2e/plugins/redirect.go
   * https://github.com/apache/apisix-ingress-controller/blob/master/test/e2e/plugins/proxy_rewrite.go


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