peterleezzzZflps opened a new issue, #8850:
URL: https://github.com/apache/apisix/issues/8850

   ### Current Behavior
   
   apisix in k8s pod ,Failed to configure /apisix/status route
   
   
   
   
   
   
   
   
   
   
   
   
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   platform: k8s 1.22 
   container runtime : containerd + runc
   
   helm install apisix apisix/apisix --set admin.allow.ipList=""  --set 
apisix.image.tag=3.0.0-debian --create-namespace --namespace apisix
   
   
   After entering the container:
   ```sh
   # cat  config.yaml
    ...
    - node-status     // node-status config already enable
    ...
   
   
   `https://apisix.apache.org/zh/docs/apisix/plugins/node-status/`
   你需要为 /apisix/status API 配置路由,并使用 
[public-api](https://apisix.apache.org/zh/docs/apisix/plugins/public-api/) 
插件暴露它。
   
   # curl http://127.0.0.1:9180/apisix/admin/routes/ns -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "uri": "/apisix/status",
       "plugins": {
           "public-api": {}
       }
   }'
   {"error_msg":"unknown plugin [public-api]"}
   
   
   So please help me to look at that, if it is solved, or my configuration is 
wrong?
   
   ### 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`):
   


-- 
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]

Reply via email to