-
Hi 🙂 I'm currently struggling to setup route-based metrics for a service that is behind a Traefik ingress. The setup consists of 3 elements:
All 3 components are wired. The following checks are all green:
I've set up the following service profile: apiVersion: linkerd.io/v1alpha2
kind: ServiceProfile
metadata:
name: backend.namespacename.svc.cluster.local
namespace: namespacename
spec:
routes:
- condition:
method: GET
pathRegex: /awesome
name: awesome-endpoint When a request now passes through the system via traefik -> frontend -> backend then I can see the The problem is now when I do a request directly to the backend via Traefik. Then the route isn't resolved and the routes look like this:
Frontend and Backend have l5d-dst-override headers set. When I tap into the service with JSON output, I can also see that the Any idea where my mistake could be? Thank! 🙂 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found the issue: Traefik was wired with |
Beta Was this translation helpful? Give feedback.
Found the issue: Traefik was wired with
linkerd.io/inject: enabled
instead oflinkerd.io/inject: ingress
. Now everything works ^_^