mirror of https://github.com/status-im/consul.git
fix broken link on sameness groups page (#20894)
This commit is contained in:
parent
6026ada0c9
commit
20210a8d86
|
@ -75,7 +75,7 @@ Members = [ # required
|
|||
"Name": "<group-name>", // required
|
||||
"Partition": "<partition-configuration-applies-to>",
|
||||
"DefaultForFailover": false,
|
||||
"IncludeLocal": true,
|
||||
"IncludeLocal": true,
|
||||
"Members": [ // required
|
||||
{
|
||||
"Partition": "<partition-with-services-in-group>"
|
||||
|
@ -172,7 +172,7 @@ If you enable this parameter, you do not need to list the local partition as the
|
|||
|
||||
Specifies the partitions and cluster peers that are members of the sameness group from the perspective of the local partition.
|
||||
|
||||
The local partition should be the first member listed unless `IncludeLocal=true`. The order of the members determines their precedence during failover scenarios. If a member is listed but Consul cannot connect to it, failover proceeds with the next healthy member in the list. For an example demonstrating how to configure this parameter, refer to [Failover between sameness groups](#failover-between-sameness-groups).
|
||||
The local partition should be the first member listed unless `IncludeLocal=true`. The order of the members determines their precedence during failover scenarios. If a member is listed but Consul cannot connect to it, failover proceeds with the next healthy member in the list. For an example demonstrating how to configure this parameter, refer to [Failover between sameness groups](#failover-between-members-of-a-sameness-group).
|
||||
|
||||
Each partition can belong to a single sameness group. You cannot associate a partition or cluster peer with multiple sameness groups.
|
||||
|
||||
|
@ -210,7 +210,7 @@ Cluster peering connections must be established before adding a remote partition
|
|||
|
||||
### `apiVersion`
|
||||
|
||||
Specifies the version of the Consul API for integrating with Kubernetes. The value must be `consul.hashicorp.com/v1alpha1`.
|
||||
Specifies the version of the Consul API for integrating with Kubernetes. The value must be `consul.hashicorp.com/v1alpha1`.
|
||||
|
||||
#### Values
|
||||
|
||||
|
@ -292,7 +292,7 @@ Each partition can belong to a single sameness group. You cannot associate a par
|
|||
- Default: None
|
||||
- This field is required.
|
||||
- Data type: List that can contain maps of the following parameters:
|
||||
|
||||
|
||||
- [`partition`](#spec-members-partition)
|
||||
- [`peer`](#spec-members-peer)
|
||||
|
||||
|
@ -337,7 +337,7 @@ In the following example, the configuration entry defines a sameness group named
|
|||
<Tab heading="HCL" group="hcl">
|
||||
|
||||
```hcl
|
||||
Kind = "sameness-group"
|
||||
Kind = "sameness-group"
|
||||
Name = "products-api"
|
||||
Partition = "store-east"
|
||||
Members = [
|
||||
|
@ -354,8 +354,8 @@ Members = [
|
|||
|
||||
```json
|
||||
{
|
||||
"Kind": "sameness-group",
|
||||
"Name": "products-api",
|
||||
"Kind": "sameness-group",
|
||||
"Name": "products-api",
|
||||
"Partition": "store-east",
|
||||
"Members": [
|
||||
{
|
||||
|
@ -380,11 +380,11 @@ Members = [
|
|||
|
||||
```yaml
|
||||
apiVersion: consul.hashicorp.com/v1alpha1
|
||||
kind: SamenessGroup
|
||||
kind: SamenessGroup
|
||||
metadata:
|
||||
name: products-api
|
||||
spec:
|
||||
members:
|
||||
members:
|
||||
- partition: store-east
|
||||
- partition: inventory-east
|
||||
- peer: dc2-store-west
|
||||
|
|
Loading…
Reference in New Issue