tweaks to the description in the configuration reference

pull/15015/head
trujillo-adam 2022-10-21 13:32:47 -07:00
parent 9d4c77a51f
commit 0d8bad1d02
1 changed files with 2 additions and 2 deletions

View File

@ -34,9 +34,9 @@ Specifies the name of the service in the Consul service mesh to send traffic to.
* Required: required
### peer
Specifies the name of the Consul peer exporting the service. If not specified, the service is assumed to be in the local datacenter.
Specifies the name of the peered Consul cluster from where the service is exported. If not specified, Consul defaults to the local datacenter.
Note that a [ServiceResolver](/docs/connect/config-entries/service-resolver) is also required for the referenced Consul service indicating what peer the service is exported by.
You must apply a [`ServiceResolver`](/docs/connect/config-entries/service-resolver) for the referenced service. The `ServiceResolver` configuration entry enables Consul to resolve routes to upstream service instances.
* Type: string
* Required: optional