diff --git a/website/content/docs/connect/cluster-peering/k8s.mdx b/website/content/docs/connect/cluster-peering/k8s.mdx
index 03563997e5..2796cda8b1 100644
--- a/website/content/docs/connect/cluster-peering/k8s.mdx
+++ b/website/content/docs/connect/cluster-peering/k8s.mdx
@@ -41,6 +41,7 @@ To peer Kubernetes clusters running Consul, you need to create a peering token a
1. In “cluster-01,” create the `PeeringAcceptor` custom resource.
+
```yaml
apiVersion: consul.hashicorp.com/v1alpha1
kind: PeeringAcceptor
@@ -53,6 +54,7 @@ To peer Kubernetes clusters running Consul, you need to create a peering token a
key: "data"
backend: "kubernetes"
```
+
1. Apply the `PeeringAcceptor` resource to the first cluster.
@@ -76,6 +78,7 @@ To peer Kubernetes clusters running Consul, you need to create a peering token a
1. In “cluster-02,” create the `PeeringDialer` custom resource.
+
```yaml
apiVersion: consul.hashicorp.com/v1alpha1
kind: PeeringDialer
@@ -88,6 +91,7 @@ To peer Kubernetes clusters running Consul, you need to create a peering token a
key: "data"
backend: "kubernetes"
```
+
1. Apply the `PeeringDialer` resource to the second cluster.
@@ -101,6 +105,7 @@ To peer Kubernetes clusters running Consul, you need to create a peering token a
1. For the service in “cluster-02” that you want to export, add the following [annotations to your service files](/docs/k8s/annotations-and-labels#consul-hashicorp-com-connect-service-upstreams).
+
```yaml
##…
annotations:
@@ -108,11 +113,13 @@ To peer Kubernetes clusters running Consul, you need to create a peering token a
"consul.hashicorp.com/transparent-proxy": "false"
##…
```
+
1. In “cluster-02,” create an `ExportedServices` custom resource.
+
```yaml
apiVersion: consul.hashicorp.com/v1alpha1
kind: ExportedServices
@@ -125,9 +132,12 @@ To peer Kubernetes clusters running Consul, you need to create a peering token a
peerName: cluster-01 ## The name of the peer that receives the service
```
+
+
1. Create service intentions for the second cluster.
+
```yaml
apiVersion: consul.hashicorp.com/v1alpha1
kind: ServiceIntentions
@@ -142,6 +152,7 @@ To peer Kubernetes clusters running Consul, you need to create a peering token a
- name: frontend-service
action: allow
```
+
1. Apply the service file, the `ExportedServices` resource, and the intentions to the second cluster.
@@ -159,6 +170,7 @@ To peer Kubernetes clusters running Consul, you need to create a peering token a
1. For the services in “cluster-01” that you want to access the “backend-service,” add the following annotations to the service file.
+
```yaml
##…
annotations:
@@ -167,6 +179,7 @@ To peer Kubernetes clusters running Consul, you need to create a peering token a
"consul.hashicorp.com/connect-service-upstreams": "backend-service.svc.cluster-02.peer:1234"
##…
```
+
1. Apply the service file to the first cluster.