hanqingwu commented on PR #11111: URL: https://github.com/apache/apisix/pull/11111#issuecomment-2036728582
yes, we should add docs response like this: `{"endpoints":[{"id":"first","endpoints":[{"name":"default/kubernetes","value":"{\"https\":[{\"host\":\"172.18.0.2\",\"port\":6443,\"weight\":50}]}"},{"name":"kube-system/kube-dns","value":"{\"dns-tcp\":[{\"host\":\"10.244.0.3\",\"port\":53,\"weight\":50},{\"host\":\"10.244.0.4\",\"port\":53,\"weight\":50}],\"dns\":[{\"host\":\"10.244.0.3\",\"port\":53,\"weight\":50},{\"host\":\"10.244.0.4\",\"port\":53,\"weight\":50}],\"metrics\":[{\"host\":\"10.244.0.3\",\"port\":9153,\"weight\":50},{\"host\":\"10.244.0.4\",\"port\":9153,\"weight\":50}]}"},{"name":"local-path-storage/rancher.io-local-path","value":"{}"},{"name":"ns-a/ep","value":"{}"},{"name":"ns-b/ep","value":"{}"},{"name":"ns-c/ep","value":"{}"}]},{"id":"second","endpoints":[{"name":"default/kubernetes","value":"{\"https\":[{\"host\":\"172.18.0.2\",\"port\":6443,\"weight\":50}]}"},{"name":"kube-system/kube-dns","value":"{\"dns-tcp\":[{\"host\":\"10.244.0.3\",\"port\":53,\"weight\":50},{\"host\":\"10.244.0.4\",\"port\":53,\"wei ght\":50}],\"dns\":[{\"host\":\"10.244.0.3\",\"port\":53,\"weight\":50},{\"host\":\"10.244.0.4\",\"port\":53,\"weight\":50}],\"metrics\":[{\"host\":\"10.244.0.3\",\"port\":9153,\"weight\":50},{\"host\":\"10.244.0.4\",\"port\":9153,\"weight\":50}]}"},{"name":"local-path-storage/rancher.io-local-path","value":"{}"},{"name":"ns-a/ep","value":"{}"},{"name":"ns-b/ep","value":"{}"},{"name":"ns-c/ep","value":"{}"}]}],"config":[{"id":"first","client":{"token_file":"/tmp/var/run/secrets/kubernetes.io/serviceaccount/token"},"service":{"host":"127.0.0.1","schema":"https","port":"6443"},"watch_endpoint_slices":true,"default_weight":50,"shared_size":"1m"},{"id":"second","client":{"token_file":"/tmp/var/run/secrets/kubernetes.io/serviceaccount/token"},"service":{"host":"127.0.0.1","schema":"http","port":"6445"},"watch_endpoint_slices":true,"default_weight":50,"shared_size":"1m"}]}` -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org