You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "michelgokan (via GitHub)" <gi...@apache.org> on 2023/08/05 13:50:50 UTC
[GitHub] [apisix] michelgokan opened a new issue, #9974: Implementing a /health Endpoint for APISIX Deployment on GCP
michelgokan opened a new issue, #9974:
URL: https://github.com/apache/apisix/issues/9974
### Description
I am encountering an issue while deploying APISIX on Google Cloud Platform (GCP). To set up a subdomain pointing to the APISIX ingress controller, such as `gateway.example.com`, GCP demands the existence of a `/health` endpoint to validate that the service is live; otherwise, it returns an error page.
However, I understand that APISIX does not inherently support a `/health` endpoint (or is it?). Whenever I attempt to access the `/health` endpoint, I receive a `404` error message generated by APISIX.
Can someone guide me on how to resolve this problem and enable GCP to successfully perform health checks on APISIX? Any suggestions or resources would be greatly appreciated.
### Environment
- APISIX version (run `apisix version`): apache/apisix:3.4.0-debian
- Operating system (run `uname -a`): Kubernetes Engine on top of GCP (Docker)
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): docker.io/bitnami/etcd:3.5.7-debian-11-r14
- APISIX Dashboard version, if relevant: apache/apisix-dashboard:3.0.0-alpine
- 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
Re: [I] Implementing a /health Endpoint for APISIX Deployment on GCP [apisix]
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #9974:
URL: https://github.com/apache/apisix/issues/9974#issuecomment-1857687753
Considered resolved
--
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
Re: [I] Implementing a /health Endpoint for APISIX Deployment on GCP [apisix]
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 closed issue #9974: Implementing a /health Endpoint for APISIX Deployment on GCP
URL: https://github.com/apache/apisix/issues/9974
--
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] moonming commented on issue #9974: Implementing a /health Endpoint for APISIX Deployment on GCP
Posted by "moonming (via GitHub)" <gi...@apache.org>.
moonming commented on issue #9974:
URL: https://github.com/apache/apisix/issues/9974#issuecomment-1668818101
You can create a router `/health` refers to https://docs.api7.ai/apisix/getting-started/configure-routes
--
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