mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-04 21:17:36 +08:00
docs: tweak discovery via DNS doc (#3731)
This commit is contained in:
parent
1591842a0c
commit
3413ebba81
@ -127,10 +127,6 @@
|
||||
"type": "doc",
|
||||
"id": "customize-nginx-configuration"
|
||||
},
|
||||
{
|
||||
"type": "doc",
|
||||
"id": "dns"
|
||||
},
|
||||
{
|
||||
"type": "doc",
|
||||
"id": "https"
|
||||
|
@ -48,9 +48,11 @@ Common registries: Eureka, Etcd, Consul, Zookeeper, Nacos etc.
|
||||
|
||||
## Supported discovery registries
|
||||
|
||||
Currently we support Eureka and service discovery via DNS, like Consul.
|
||||
Currently we support Eureka/Consul and service discovery via DNS.
|
||||
|
||||
For service discovery via DNS, see [service discovery via DNS](dns.md#service-discovery-via-dns).
|
||||
For service discovery via DNS, see [service discovery via DNS](discovery/dns.md).
|
||||
|
||||
For Consul, see [service discovery via Consul](discovery/consul_kv.md)
|
||||
|
||||
For Eureka, see below.
|
||||
|
||||
@ -254,8 +256,3 @@ $ curl http://127.0.0.1:9080/apisix/admin/routes/2 -H 'X-API-KEY: edd1c9f034335f
|
||||
Suppose both A-SERVICE and B-SERVICE provide a `/test` API. The above configuration allows access to A-SERVICE's `/test` API through `/a/test` and B-SERVICE's `/test` API through `/b/test`.
|
||||
|
||||
**Notice**:When configuring `upstream.service_name`, `upstream.nodes` will no longer take effect, but will be replaced by 'nodes' obtained from the registry.
|
||||
|
||||
## Discovery modules
|
||||
|
||||
- eureka
|
||||
- [Consul KV](discovery/consul_kv.md)
|
||||
|
@ -47,9 +47,11 @@ title: 集成服务发现注册中心
|
||||
|
||||
## 当前支持的注册中心
|
||||
|
||||
目前支持 Eureka 和基于 DNS 的服务注册发现,如 Consul 等。
|
||||
目前支持 Eureka / Consul 和基于 DNS 的服务注册发现。
|
||||
|
||||
基于 DNS 的服务注册发现见 [基于 DNS 的服务支持发现](../../en/latest/dns.md#service-discovery-via-dns)。
|
||||
基于 DNS 的服务注册发现见 [基于 DNS 的服务支持发现](../../en/latest/discovery/dns.md)。
|
||||
|
||||
Consul 的支持见 [基于 Consul 的服务支持发现](../../en/latest/discovery/consul_kv.md)
|
||||
|
||||
Eureka 的支持方式见下文。
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user