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/08/07 01:10:21 UTC

[GitHub] [apisix-dashboard] Yangzcy423911 opened a new issue #369: About service startup with manager_api

Yangzcy423911 opened a new issue #369:
URL: https://github.com/apache/apisix-dashboard/issues/369


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ ] Bug
   - [ ] Requirements
   - [ ] Feature or performance improvement
   - [ ] Other
   
   ___
   ### Question
   - What do you want to know?
   manager_api启动时,能不能手动指定配置文件进行启动,或者通过cli进行传入某些参数来进行启动,而不从环境变量读取,这样会不会更优呢,如果放在k8s中通过configmap挂载配置文件到pod,这样会不会比较好呢
   


----------------------------------------------------------------
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-dashboard] juzhiyuan closed issue #369: About service startup with manager_api

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #369:
URL: https://github.com/apache/apisix-dashboard/issues/369


   


----------------------------------------------------------------
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-dashboard] Yangzcy423911 commented on issue #369: About service startup with manager_api

Posted by GitBox <gi...@apache.org>.
Yangzcy423911 commented on issue #369:
URL: https://github.com/apache/apisix-dashboard/issues/369#issuecomment-670400243


   Will this operation be closer to cloud native? There is also a point about manager_ I think it will be better if the database script of API service can be generated in an incremental way, because if there is already this library online and there is real data, an error will be reported when importing the script directly. If there is an incremental script, will the result be different
   
   


----------------------------------------------------------------
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-dashboard] Yangzcy423911 commented on issue #369: About service startup with manager_api

Posted by GitBox <gi...@apache.org>.
Yangzcy423911 commented on issue #369:
URL: https://github.com/apache/apisix-dashboard/issues/369#issuecomment-670397823


   Currently approved run.sh To start the service, it is also to read variables directly to modify the configuration file, and then start it. Is the efficiency a little low? Moreover, it is not very convenient to get the path of the directory through PWD
   
   


----------------------------------------------------------------
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-dashboard] Yangzcy423911 commented on issue #369: About service startup with manager_api

Posted by GitBox <gi...@apache.org>.
Yangzcy423911 commented on issue #369:
URL: https://github.com/apache/apisix-dashboard/issues/369#issuecomment-670398892


   In k8s, mount the configuration file through configmap. Configmap reads from the configuration file and reads different configurations in different environments. Is this more elegant. Also avoid writing the configuration file to the image. This is only my personal opinion. It does not take the place of any judgment. Thank you for your understanding, your reply, thank you very much
   
   


----------------------------------------------------------------
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-dashboard] gxthrj commented on issue #369: About service startup with manager_api

Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #369:
URL: https://github.com/apache/apisix-dashboard/issues/369#issuecomment-670280564


   1. I agree that the manager-api is started by formulating a configuration file, or by rewriting certain parameters when starting. This is a good feature.
   2. In k8s, `configmap` can bind configuration files or specify `environment variables`. I prefer to modify specific parameters through `environment variables`, because configuration files need to pay attention to additional configuration structures.


----------------------------------------------------------------
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-dashboard] gxthrj commented on issue #369: About service startup with manager_api

Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #369:
URL: https://github.com/apache/apisix-dashboard/issues/369#issuecomment-670508877


   > Will this operation be closer to cloud native? There is also a point about manager_ I think it will be better if the database script of API service can be generated in an incremental way, because if there is already this library online and there is real data, an error will be reported when importing the script directly. If there is an incremental script, will the result be different
   
   for now, incremental database script upgrades are not supported. You can mention a separate issue about this feature. The incremental script needs to be bound to the 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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org