Hi,
Mirroring does not work for gRPC requests.
Traefik v2.10
IngressRoute:
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: ingressroutebar
namespace: default
spec:
entryPoints:
- web
routes:
- kind: Rule
match: Host(`example.com`) && PathPrefix(`/foo`)
services:
- kind: TraefikService
name: svc-mirror
namespace: default
TraefikService:
apiVersion: traefik.io/v1alpha1
kind: TraefikService
metadata:
name: svc-mirror
namespace: default
spec:
mirroring:
name: svc1
port: 9000
scheme: h2c
mirrors:
- name: svc2
port: 9000
percent: 100
scheme: h2c
With scheme set to h2c, no requests are mirrored to svc2. But the same configuration works when scheme is not set and backend is http1.
Anything wrong with the configuration?