mirror of https://github.com/hashicorp/consul
docs: Update k8s/connect/create-sameness-groups
parent
b37fe80eee
commit
ad1d4f30de
|
@ -146,7 +146,7 @@ The following example demonstrates how to format three different `ExportedServic
|
||||||
apiVersion: consul.hashicorp.com/v1alpha1
|
apiVersion: consul.hashicorp.com/v1alpha1
|
||||||
Kind: ExportedServices
|
Kind: ExportedServices
|
||||||
metadata:
|
metadata:
|
||||||
name: product-group-export
|
name: partition-1
|
||||||
spec:
|
spec:
|
||||||
services:
|
services:
|
||||||
- name: api
|
- name: api
|
||||||
|
@ -163,7 +163,7 @@ spec:
|
||||||
apiVersion: consul.hashicorp.com/v1alpha1
|
apiVersion: consul.hashicorp.com/v1alpha1
|
||||||
Kind: ExportedServices
|
Kind: ExportedServices
|
||||||
metadata:
|
metadata:
|
||||||
name: product-group-export
|
name: partition-2
|
||||||
spec:
|
spec:
|
||||||
services:
|
services:
|
||||||
- name: api
|
- name: api
|
||||||
|
@ -180,7 +180,7 @@ spec:
|
||||||
apiVersion: consul.hashicorp.com/v1alpha1
|
apiVersion: consul.hashicorp.com/v1alpha1
|
||||||
Kind: ExportedServices
|
Kind: ExportedServices
|
||||||
metadata:
|
metadata:
|
||||||
name: product-group-export
|
name: partition-1
|
||||||
spec:
|
spec:
|
||||||
services:
|
services:
|
||||||
- name: api
|
- name: api
|
||||||
|
@ -291,4 +291,4 @@ If your goal for peering clusters is to create a sameness group, you can write a
|
||||||
|
|
||||||
When `defaultForFailover=true` in a sameness group CRD, additional upstream configuration is not required.
|
When `defaultForFailover=true` in a sameness group CRD, additional upstream configuration is not required.
|
||||||
|
|
||||||
After creating a sameness group, you can also set up failover between services in a sameness group. Refer to [Failover with sameness groups](/consul/docs/connect/manage-traffic/failover/sameness) for more information.
|
After creating a sameness group, you can also set up failover between services in a sameness group. Refer to [Failover with sameness groups](/consul/docs/connect/manage-traffic/failover/sameness) for more information.
|
||||||
|
|
Loading…
Reference in New Issue