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