You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We deploy apisix in standalone mode and use apisix.yaml to config our routes.
Since routes are a lot and the plugins used are similar, we intend to use [plugin_config] to extract commonly used plugin configurations. In this case, we can just use plugin_config_id in [routes] and it appears more consice.
However, it does not work and the request fails with a status code of 503.
As for the 503, please make sure you have first created the plugin_config resource with the ID you would like to reference in routes. The error seems to be caused by referencing to a plugin_config ID that does not exist.
kayx23
changed the title
feat: support [plugin_config] in apisix.yaml with standalone deployment mode
docs: plugin_config support in standalone deployment mode
Jun 5, 2024
Description
We deploy apisix in standalone mode and use apisix.yaml to config our routes.
Since routes are a lot and the plugins used are similar, we intend to use [plugin_config] to extract commonly used plugin configurations. In this case, we can just use plugin_config_id in [routes] and it appears more consice.
However, it does not work and the request fails with a status code of 503.
We notice that [plugin_config] is not mentioned in official document: https://apisix.apache.org/docs/apisix/3.2/deployment-modes/#standalone. Does is mean that [plugin_config] is not supported in standalone mode and can only be set with Admin API?
Can [plugin_config] be supported in in apisix.yaml with standalone deployment mode?
The text was updated successfully, but these errors were encountered: