Improve mirroring example on Kubernetes
This commit is contained in:
parent
ee3e7cbbec
commit
d8cf90dade
1 changed files with 12 additions and 12 deletions
|
@ -897,15 +897,15 @@ More information in the dedicated [mirroring](../services/index.md#mirroring-ser
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
mirroring:
|
mirroring:
|
||||||
name: svc1
|
name: svc1 # svc1 receives 100% of the traffic
|
||||||
port: 80
|
port: 80
|
||||||
mirrors:
|
mirrors:
|
||||||
- name: svc2
|
- name: svc2 # svc2 receives a copy of 20% of this traffic
|
||||||
port: 80
|
port: 80
|
||||||
percent: 20
|
percent: 20
|
||||||
- name: svc3
|
- name: svc3 # svc3 receives a copy of 15% of this traffic
|
||||||
kind: TraefikService
|
kind: TraefikService
|
||||||
percent: 20
|
percent: 15
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="Mirroring Traefik Service"
|
```yaml tab="Mirroring Traefik Service"
|
||||||
|
@ -918,15 +918,15 @@ More information in the dedicated [mirroring](../services/index.md#mirroring-ser
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
mirroring:
|
mirroring:
|
||||||
name: wrr1
|
name: wrr1 # wrr1 receives 100% of the traffic
|
||||||
kind: TraefikService
|
kind: TraefikService
|
||||||
mirrors:
|
mirrors:
|
||||||
- name: svc2
|
- name: svc2 # svc2 receives a copy of 20% of this traffic
|
||||||
port: 80
|
port: 80
|
||||||
percent: 20
|
percent: 20
|
||||||
- name: svc3
|
- name: svc3 # svc3 receives a copy of 10% of this traffic
|
||||||
kind: TraefikService
|
kind: TraefikService
|
||||||
percent: 20
|
percent: 10
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="K8s Service"
|
```yaml tab="K8s Service"
|
||||||
|
|
Loading…
Reference in a new issue