apisix icon indicating copy to clipboard operation
apisix copied to clipboard

help request: Is it possible for the apisix singleton mode to split apisix.yml into multiple files

Open darkSheep404 opened this issue 1 year ago • 1 comments

Description

We are currently using singleton mode to deploy apisix 3.9.1 The apisix.yml file is getting larger and larger I was wondering if it would be possible to split apisix.yml into multiple files and separate throttling, authentication, related routes and plugins into different YMLs for easier maintenance

Environment

  • APISIX version (run apisix version):
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -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):

darkSheep404 avatar Sep 23 '24 09:09 darkSheep404

not yet supported.

shreemaan-abhishek avatar Sep 23 '24 11:09 shreemaan-abhishek

Duplicate of #7470

Baoyuantop avatar May 14 '25 07:05 Baoyuantop

Multiple yaml's can be merged using external tools.

Welcome submit a PR to make APISIX support this feature.

Baoyuantop avatar May 15 '25 14:05 Baoyuantop

How about using YAML Anchor syntax?

Baoyuantop avatar May 20 '25 07:05 Baoyuantop