mirror of https://github.com/hashicorp/consul
backport of commit 22d216c106
(#15508)
This pull request was automerged via backport-assistantpull/15511/head
parent
5ce0132e9b
commit
93c3a86ec4
|
@ -34,8 +34,8 @@ The table below shows this endpoint's support for
|
|||
|
||||
### JSON Request Body Schema
|
||||
|
||||
- `Peer` `(string: <required>)` - The name assigned to the peer cluster.
|
||||
The `Peer` is used to reference the peer cluster in service discovery queries
|
||||
- `PeerName` `(string: <required>)` - The name assigned to the peer cluster.
|
||||
The `PeerName` is used to reference the peer cluster in service discovery queries
|
||||
and configuration entries such as `service-intentions`. This field must be a
|
||||
valid DNS hostname label.
|
||||
|
||||
|
@ -54,7 +54,7 @@ You can specify one or more load balancers or external IPs that route external t
|
|||
|
||||
```json
|
||||
{
|
||||
"Peer": "cluster-02",
|
||||
"PeerName": "cluster-02",
|
||||
"Meta": {
|
||||
"env": "production"
|
||||
}
|
||||
|
@ -101,8 +101,8 @@ The table below shows this endpoint's support for
|
|||
|
||||
### JSON Request Body Schema
|
||||
|
||||
- `Peer` `(string: <required>)` - The name assigned to the peer cluster.
|
||||
The `Peer` is used to reference the peer cluster in service discovery queries
|
||||
- `PeerName` `(string: <required>)` - The name assigned to the peer cluster.
|
||||
The `PeerName` is used to reference the peer cluster in service discovery queries
|
||||
and configuration entries such as `service-intentions`. This field must be a
|
||||
valid DNS hostname label.
|
||||
|
||||
|
@ -121,7 +121,7 @@ The table below shows this endpoint's support for
|
|||
|
||||
```json
|
||||
{
|
||||
"Peer": "cluster-01",
|
||||
"PeerName": "cluster-01",
|
||||
"PeeringToken": "eyJDQSI6bnVsbCwiU2V...",
|
||||
"Meta": {
|
||||
"env": "production"
|
||||
|
|
Loading…
Reference in New Issue