-
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: Enabling discovery kubernetes services configuration doesn't list cluster existing endpoints in Dashboard Service list #11057
Comments
What is Dashboard Service list? Please elaborate your problem and provide more details on reproduction steps. A set of steps containing self contained minimal configurations would be appreciated. |
Hi @shreemaan-abhishek, Thanks for looking into this issue. From the Dashboard Service list, I mean, in APISIX Dashboard UI, service page is not listing any of existing Kubernetes endpoints after enabling "discovery kubernetes service" configuration. I have attached screenshot below. |
can you confirm if the admin api also returns an empty result? this information is key to identify if the issue is with APISIX or just the dashboard. |
Hi @shreemaan-abhishek , The configurations used for apisix is as below: kubernetes service discovery configuration:
|
@singhajitk , I think you confuse about apisix service and Kubernetes service endpoints. The dashboard only show apisix service "A service consists of a combination of public plugin configuration and upstream target information in a route" |
Hi @hanqingwu, As per document apisix/discovery/kubernetes (https://apisix.apache.org/docs/apisix/discovery/kubernetes/) @shreemaan-abhishek, Please correct me if my understanding is wrong that "kubernetes services should get listed when discovery->kubernetes configuration" is enabled ? |
@singhajitk , From view source code , I don not find dump_data interface in discovery kubernetes . |
@hanqingwu, Thank you for looking into it. @shreemaan-abhishek , will this feature get added ? |
@singhajitk, I add a interface to dump k8s data , like this.
|
@hanqingwu, Thank you for looking onto this. I will upgrade and try. |
Current Behavior
The cluster existing endpoints in not getting listed in Dashboard Service list after providing the discovery kubenetes services configuration
Expected Behavior
My understanding is that existing cluster endpoints should get listed or available after search in Dashboard Service list
Error Logs
No response
Steps to Reproduce
Environment
APISIX version (run
apisix version
): - 3.8.0Operating system (run
uname -a
): Linux apisix-647b4867df-79542 5.4.0-136-generic test: only check part of schema. #153~18.04.1-Ubuntu SMP Wed Nov 30 15:47:57 UTC 2022 x86_64 GNU/LinuxOpenResty / Nginx version (run
openresty -V
ornginx -V
):nginx version: openresty/1.21.4.2
built by gcc 10.2.1 20210110 (Debian 10.2.1-6)
built with OpenSSL 3.2.0 23 Nov 2023
TLS SNI support enabled
etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info
): 404 Not FoundAPISIX Dashboard version, if relevant: 3.0.0
Plugin runner version, for issues related to plugin runners:
LuaRocks version, for installation issues (run
luarocks --version
): luarocks: command not foundThe text was updated successfully, but these errors were encountered: