-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: consul discovery can not fetch a svc`s all endpoint #8827
Comments
had fixed it, referenced #8651 |
Great work!! Very good. By the way, does apisix consul discovery support directly get a svc`s all health endpoints through Consul Health API consul/api-docs/health? So if get endpoints from Consul Health API apisix will not be required to health check the endpoints, |
And the Consul Health API like this blow, there are some different places between Health API and Catalog API, parameter and response body
curl -fsSL http://127.0.0.1:8500/v1/health/service/netshoot-2-netshoot-group?passing=true
curl -fsSL http://127.0.0.1:8500/v1/catalog/service/netshoot-2-netshoot-group |
Not support yet. Please make apisix to health check the endpoints |
got it , tanks |
Current Behavior
Expected Behavior
get the svc`s all endpotins through this consul agent from the whole consul cluster.
Error Logs
No response
Steps to Reproduce
1、run apisix 3.1.0
2、config disconvery
3、put route
Environment
apisix version
): docker.io/apache/apisix:3.1.0-debianuname -a
):Linux vm4 5.4.0-132-generic #148-Ubuntu SMP Mon Oct 17 16:02:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):{"id":"ecd7565b-73f0-4c62-8cf2-20d42eb2766d","hostname":"9e6fc857823c","boot_time":1676009281,"etcd_version":"3.5.0","version":"3.1.0"}
luarocks --version
):The text was updated successfully, but these errors were encountered: