Browse Source

docs: Update k8s/connect/create-sameness-groups (#20317)

pull/20327/head
Krastin Krastev 10 months ago committed by GitHub
parent
commit
a392242d23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      website/content/docs/k8s/connect/cluster-peering/usage/create-sameness-groups.mdx

8
website/content/docs/k8s/connect/cluster-peering/usage/create-sameness-groups.mdx

@ -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…
Cancel
Save