Skip to content

help request: apisix discovery with kubernetes #7791

@wolgod

Description

@wolgod

Description

I want to use the kubernetes service discovery function of apisix, and now the demo has been run through, there are two questions

  1. If I use the kubernetes service discovery function, is there an interface to get the real Upstream information on the backend of the service, or is this information just cached in the apisix instance and cannot be viewed?

  2. in the documentation, it is said that the data exists in ngx.shared.kubernetes. If my apisix instance is restarted, how can I ensure that all Upstreams have been re-acquired before processing the request?

Environment

  • APISIX version (run apisix version):2.13.2
  • Operating system (run uname -a):centos7
  • OpenResty / Nginx version (run openresty -V or nginx -V):1.9.19
  • 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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions