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 2020/01/04 09:37:28 UTC

[GitHub] [incubator-apisix] jiezaizone opened a new issue #1017: request help: apisix如何配置灰度访问?

jiezaizone opened a new issue #1017: request help: apisix如何配置灰度访问?
URL: https://github.com/apache/incubator-apisix/issues/1017
 
 
   ### Issue description
   ![image](https://user-images.githubusercontent.com/28976666/71763595-af00b080-2f18-11ea-9738-c4f5f820f006.png)
   比如我本身的nginx有这个lua脚本,在apisix中该怎么配置?
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   * OS:
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] membphis commented on issue #1017: request help: apisix如何配置灰度访问?

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1017: request help: apisix如何配置灰度访问?
URL: https://github.com/apache/incubator-apisix/issues/1017#issuecomment-570787096
 
 
   You can implement a new plugin and overwrite a method balance `.
   
   Here is an example:
   
   https://github.com/apache/incubator-apisix/blob/master/lua/apisix/plugins/example-plugin.lua#L66

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] moonming closed issue #1017: request help: apisix如何配置灰度访问?

Posted by GitBox <gi...@apache.org>.
moonming closed issue #1017: request help: apisix如何配置灰度访问?
URL: https://github.com/apache/incubator-apisix/issues/1017
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] moonming commented on issue #1017: request help: apisix如何配置灰度访问?

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #1017: request help: apisix如何配置灰度访问?
URL: https://github.com/apache/incubator-apisix/issues/1017#issuecomment-571027192
 
 
   > Then I need to get my grayscale list in redis, how should I configure it here?
   
   you need to get your grayscale list from Redis by yourself, then call admin API to update APISIX.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] moonming commented on issue #1017: request help: apisix如何配置灰度访问?

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #1017: request help: apisix如何配置灰度访问?
URL: https://github.com/apache/incubator-apisix/issues/1017#issuecomment-570893989
 
 
   Recommend using Apache APISIX's own configuration instead of external Lua code, here is an example for ab test: https://github.com/apache/incubator-apisix/blob/master/FAQ.md#how-to-support-ab-testing-via-apisix

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-apisix] jiezaizone commented on issue #1017: request help: apisix如何配置灰度访问?

Posted by GitBox <gi...@apache.org>.
jiezaizone commented on issue #1017: request help: apisix如何配置灰度访问?
URL: https://github.com/apache/incubator-apisix/issues/1017#issuecomment-571021158
 
 
   > Recommend using Apache APISIX's own configuration instead of external Lua code, here is an example for ab test: https://github.com/apache/incubator-apisix/blob/master/FAQ.md#how-to-support-ab-testing-via-apisix
   
   ![image](https://user-images.githubusercontent.com/28976666/71799351-f6f61380-308f-11ea-990b-d6c710fc6787.png)
   I have read this document and understand that the same domain name is configured with two routes and then filtered according to vars?
   Then I need to get my grayscale list in redis, how should I configure it here? Is there a demo?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services