Skip to content

bug: Enabling discovery kubernetes services configuration doesn't list cluster existing endpoints in Dashboard Service list #11057

Description

@singhajitk

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

  1. Install APISIX with the apache / apisix-helm-chart with discovery kubernetes services configuration
discovery:
  kubernetes:
    client:
      token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
    default_weight: 50
    service:
      host: ${KUBERNETES_SERVICE_HOST}
      port: ${KUBERNETES_SERVICE_PORT}
      schema: https

Environment

  • APISIX version (run apisix version): - 3.8.0

  • Operating 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/Linux

  • OpenResty / Nginx version (run openresty -V or nginx -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 Found

  • APISIX 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 found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions