You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "peterleezzzZflps (via GitHub)" <gi...@apache.org> on 2023/02/13 11:27:17 UTC

[GitHub] [apisix] peterleezzzZflps opened a new issue, #8850: bug: node-status enable failed

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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] Fabriceli commented on issue #8850: bug: node-status enable failed

Posted by "Fabriceli (via GitHub)" <gi...@apache.org>.
Fabriceli commented on issue #8850:
URL: https://github.com/apache/apisix/issues/8850#issuecomment-1428113829

   make sure the plugin `public-api` is enable


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] peterleezzzZflps commented on issue #8850: bug: node-status enable failed

Posted by "peterleezzzZflps (via GitHub)" <gi...@apache.org>.
peterleezzzZflps commented on issue #8850:
URL: https://github.com/apache/apisix/issues/8850#issuecomment-1429016155

   It is true that the public-api is not enabled by default in the plug-in, it is recommended to declare it in the official document


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] peterleezzzZflps closed issue #8850: bug: node-status enable failed

Posted by "peterleezzzZflps (via GitHub)" <gi...@apache.org>.
peterleezzzZflps closed issue #8850: bug: node-status enable failed
URL: https://github.com/apache/apisix/issues/8850


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org