Baoyuantop commented on issue #13494: URL: https://github.com/apache/apisix/issues/13494#issuecomment-4667086703
In the current file-driven standalone mode, APISIX does not provide a startup argument or a general environment variable to override `apisix.yaml` / `apisix.json` to an arbitrary path. The expected rule file paths are: - `/usr/local/apisix/conf/apisix.yaml` For Kubernetes, please mount your ConfigMap/volume to the path APISIX watches, for example `/usr/local/apisix/conf/apisix.yaml`. If you use YAML mode, the file also needs to end with `#END`; otherwise APISIX will not load it. If you have already mounted the file to that path but hot reload still does not work, please provide: 1. the Pod `volumeMounts` snippet; 2. the output of `ls -l /usr/local/apisix/conf/` inside the container; 3. the relevant content of `/usr/local/apisix/conf/apisix.yaml`, especially whether it ends with `#END`; 4. APISIX error.log entries related to `apisix.yaml`, `failed to fetch`, `failed to parse`, or `reloaded`. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
