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 2021/05/13 06:39:21 UTC

[GitHub] [apisix] Marco-Zheng opened a new issue #4238: bug: self plugins doesn't effect under k8s env

Marco-Zheng opened a new issue #4238:
URL: https://github.com/apache/apisix/issues/4238


   ### Issue description
   我在本地(非k8s环境)安装了自己写的插件 是可以生效的
   但是在k8s环境 做了一个apisix的镜像,配置了
   ![image](https://user-images.githubusercontent.com/52538259/118087869-c7c88280-b3f8-11eb-8a0d-7b9a64909359.png)
   
   plugins目录下也有了
   ![image](https://user-images.githubusercontent.com/52538259/118087922-dfa00680-b3f8-11eb-82d1-568179c80661.png)
   但是不知为何没有生效
   ![image](https://user-images.githubusercontent.com/52538259/118087955-ee86b900-b3f8-11eb-8447-9252ad13c9da.png)
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):2.4
   


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



[GitHub] [apisix] Firstsawyou edited a comment on issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Firstsawyou edited a comment on issue #4238:
URL: https://github.com/apache/apisix/issues/4238#issuecomment-840364639


   Have you configured the plugin name in the plugin list in the config.yaml file?


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



[GitHub] [apisix] Firstsawyou commented on issue #4238: bug: self plugins doesn't effect under k8s env

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


   It may be that there are other plugin lists in the config.yaml file, which overwrites the plug-in list in config-default.yaml.


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



[GitHub] [apisix] Firstsawyou commented on issue #4238: bug: self plugins doesn't effect under k8s env

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


   Did you deploy APISIX through [apisix-helm-chart](https://github.com/apache/apisix-helm-chart) in ks8?


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



[GitHub] [apisix] Marco-Zheng commented on issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Marco-Zheng commented on issue #4238:
URL: https://github.com/apache/apisix/issues/4238#issuecomment-840473983


   > @Marco-Zheng Currently we don't have an incremental way to configure custom plugins. You have to change the `value.yaml` in apisix charts.
   
   ok, thanks a lot~


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



[GitHub] [apisix] Firstsawyou edited a comment on issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Firstsawyou edited a comment on issue #4238:
URL: https://github.com/apache/apisix/issues/4238#issuecomment-840364639


   Have you configured the plugin name in the plugin list in the config.yaml or config-default.yaml  file?


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



[GitHub] [apisix] Marco-Zheng closed issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Marco-Zheng closed issue #4238:
URL: https://github.com/apache/apisix/issues/4238


   


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



[GitHub] [apisix] Marco-Zheng commented on issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Marco-Zheng commented on issue #4238:
URL: https://github.com/apache/apisix/issues/4238#issuecomment-840473265


   > > > Did you deploy APISIX through [apisix-helm-chart](https://github.com/apache/apisix-helm-chart) in ks8?
   > > 
   > > 
   > > Yeap, is there any problem with apisix-helm-chart ?
   > 
   > You can try adding your plug-in name in the plugin list here:https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/values.yaml#L138-L177
   
   Thanks a lot, i'll try it


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



[GitHub] [apisix] Marco-Zheng edited a comment on issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Marco-Zheng edited a comment on issue #4238:
URL: https://github.com/apache/apisix/issues/4238#issuecomment-840369657


   > config.yaml
   
   no.. i just configured in config-default.yaml, per apisix doc, config.yaml will rewrite and cover the config in config-default.yaml, so i didn't configure it
   when i run the apisix locally, i didn't configure it but it can work well


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



[GitHub] [apisix] Marco-Zheng commented on issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Marco-Zheng commented on issue #4238:
URL: https://github.com/apache/apisix/issues/4238#issuecomment-840369657


   > config.yaml
   
   no.. i just configured in config-default.yaml, per apisix doc, config.yaml will rewrite and cover the config in config-default.yaml, so i didn't configure it
   when i run the apisix locally, i didn't configure it but it can worked well


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



[GitHub] [apisix] Firstsawyou commented on issue #4238: bug: self plugins doesn't effect under k8s env

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


   Have you configured the plugin name in the plug-in list in the config.yaml file?


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



[GitHub] [apisix] tokers commented on issue #4238: bug: self plugins doesn't effect under k8s env

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


   @Marco-Zheng Currently we don't have an incremental way to configure custom plugins. You have to change the `value.yaml` in apisix charts.


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



[GitHub] [apisix] Firstsawyou edited a comment on issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Firstsawyou edited a comment on issue #4238:
URL: https://github.com/apache/apisix/issues/4238#issuecomment-840377371


   It may be that there are other plugin lists in the config.yaml file, which overwrites the plugin list in config-default.yaml.


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



[GitHub] [apisix] Firstsawyou commented on issue #4238: bug: self plugins doesn't effect under k8s env

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


   > > Did you deploy APISIX through [apisix-helm-chart](https://github.com/apache/apisix-helm-chart) in ks8?
   > 
   > Yeap, is there any problem with apisix-helm-chart ?
   
   You can try adding your plug-in name in the plugin list here:https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/values.yaml#L138-L177


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



[GitHub] [apisix] Marco-Zheng commented on issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Marco-Zheng commented on issue #4238:
URL: https://github.com/apache/apisix/issues/4238#issuecomment-840369923


   > Have you configured the plugin name in the plugin list in the config.yaml file?
   
   no.. i just configured in config-default.yaml, per apisix doc, config.yaml will rewrite and cover the config in config-default.yaml, so i didn't configure it
   when i run the apisix locally, i didn't configure it but it can work well


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



[GitHub] [apisix] Marco-Zheng commented on issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Marco-Zheng commented on issue #4238:
URL: https://github.com/apache/apisix/issues/4238#issuecomment-840489912


   @tokers @Firstsawyou The problem has bean solved, thanks for your kindly help!


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



[GitHub] [apisix] Marco-Zheng commented on issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Marco-Zheng commented on issue #4238:
URL: https://github.com/apache/apisix/issues/4238#issuecomment-840432067


   > Did you deploy APISIX through [apisix-helm-chart](https://github.com/apache/apisix-helm-chart) in ks8?
   
   Yeap, is there any problem with apisix-helm-chart ?


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



[GitHub] [apisix] Marco-Zheng removed a comment on issue #4238: bug: self plugins doesn't effect under k8s env

Posted by GitBox <gi...@apache.org>.
Marco-Zheng removed a comment on issue #4238:
URL: https://github.com/apache/apisix/issues/4238#issuecomment-840369657


   > config.yaml
   
   no.. i just configured in config-default.yaml, per apisix doc, config.yaml will rewrite and cover the config in config-default.yaml, so i didn't configure it
   when i run the apisix locally, i didn't configure it but it can work well


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