mirror of https://github.com/status-im/consul.git
Update create-sameness-groups.mdx (#17927)
This commit is contained in:
parent
6f5da97d66
commit
b168132176
|
@ -89,9 +89,9 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
defaultForFailover: true
|
defaultForFailover: true
|
||||||
members:
|
members:
|
||||||
partition: partition-1
|
- partition: partition-1
|
||||||
partition: partition-2
|
- partition: partition-2
|
||||||
peer: dc2-partition-1
|
- peer: dc2-partition-1
|
||||||
```
|
```
|
||||||
|
|
||||||
</CodeBlockConfig>
|
</CodeBlockConfig>
|
||||||
|
@ -106,9 +106,9 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
defaultForFailover: true
|
defaultForFailover: true
|
||||||
members:
|
members:
|
||||||
partition: partition-2
|
- partition: partition-2
|
||||||
partition: partition-1
|
- partition: partition-1
|
||||||
peer: dc2-partition-1
|
- peer: dc2-partition-1
|
||||||
```
|
```
|
||||||
|
|
||||||
</CodeBlockConfig>
|
</CodeBlockConfig>
|
||||||
|
@ -123,9 +123,9 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
defaultForFailover: true
|
defaultForFailover: true
|
||||||
members:
|
members:
|
||||||
partition: partition-1
|
- partition: partition-1
|
||||||
peer: dc1-partition-1
|
- peer: dc1-partition-1
|
||||||
peer: dc2-partition-2
|
- peer: dc2-partition-2
|
||||||
```
|
```
|
||||||
|
|
||||||
</CodeBlockConfig>
|
</CodeBlockConfig>
|
||||||
|
@ -287,4 +287,4 @@ $ kubectl apply --filename api.yaml
|
||||||
|
|
||||||
It is possible to combine the service intentions configuration entry for creating sameness groups with the entry required to [authorize services for peers](/consul/docs/connect/cluster-peering/usage/establish-cluster-peering#authorize-services-for-peers).
|
It is possible to combine the service intentions configuration entry for creating sameness groups with the entry required to [authorize services for peers](/consul/docs/connect/cluster-peering/usage/establish-cluster-peering#authorize-services-for-peers).
|
||||||
|
|
||||||
In this workflow, configure the `sources` block with the `samenessGroup` field instead of the `peer` field. You should write the `sameness-group` configuration entry to Consul before referencing it in the `service-intentions` configuration entry.
|
In this workflow, configure the `sources` block with the `samenessGroup` field instead of the `peer` field. You should write the `sameness-group` configuration entry to Consul before referencing it in the `service-intentions` configuration entry.
|
||||||
|
|
Loading…
Reference in New Issue