Skip to content

Commit

Permalink
docs: improve mirroring example on Kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
mloiseleur authored and kevinpollet committed May 13, 2024
1 parent ee3e7cb commit 09e273d
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/content/routing/providers/kubernetes-crd.md
Original file line number Diff line number Diff line change
Expand Up @@ -897,15 +897,15 @@ More information in the dedicated [mirroring](../services/index.md#mirroring-ser

spec:
mirroring:
name: svc1
name: svc1 # svc1 receives 100% of the traffic
port: 80
mirrors:
- name: svc2
- name: svc2 # svc2 receives a copy of 20% of this traffic
port: 80
percent: 20
- name: svc3
- name: svc3 # svc3 receives a copy of 15% of this traffic
kind: TraefikService
percent: 20
percent: 15
```

```yaml tab="Mirroring Traefik Service"
Expand All @@ -918,15 +918,15 @@ More information in the dedicated [mirroring](../services/index.md#mirroring-ser

spec:
mirroring:
name: wrr1
name: wrr1 # wrr1 receives 100% of the traffic
kind: TraefikService
mirrors:
- name: svc2
port: 80
percent: 20
- name: svc3
kind: TraefikService
percent: 20
mirrors:
- name: svc2 # svc2 receives a copy of 20% of this traffic
port: 80
percent: 20
- name: svc3 # svc3 receives a copy of 10% of this traffic
kind: TraefikService
percent: 10
```

```yaml tab="K8s Service"
Expand Down

0 comments on commit 09e273d

Please sign in to comment.