apisix
apisix copied to clipboard
help request: should we move the reload api from Admin API to Control API
Description
Currently, we have an API that reloads the plugin in the Admin API: https://apisix.apache.org/docs/apisix/terminology/plugin/#hot-reload. After years of usage, we find this design has some issues:
- its logic is complex
- it requires every node has the same plugin and static configuration.
- its usage is limited
As the reload API is mainly used for dev or debug purposes, moving this API into the control API would be more appreciated. What about your ideas?
Environment
- APISIX version (run
apisix version): 2.15.0 - Operating system (run
uname -a): - OpenResty / Nginx version (run
openresty -Vornginx -V): - etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info): - APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run
luarocks --version):
Agree +1 from me.
It's my understanding that plugin reload is a "foreign" operation in Admin API. It doesn't like other operations which focus on specific objects.
Agree +1.
In Admin API, it will be conflicted if there is a plugin called reload.
agree +1 for me
agree +1
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.