Skip to content

Commit

Permalink
Merge branch 'main' into eliza/timeout-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw authored Aug 21, 2023
2 parents 7fd55ed + 85a0389 commit 9ab165b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
13 changes: 8 additions & 5 deletions linkerd.io/content/2-edge/reference/httproute.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ rerouted to different backend services. This can be used to perform [dynamic
request routing](../../tasks/configuring-dynamic-request-routing/).

{{< warning >}}
Outbound HTTPRoutes are **incompatible with ServiceProfiles**. If the
[ParentReference](#parentreference) of an HTTPRoute is a Service, and a
[ServiceProfile](../../features/service-profiles/) is also defined for that
Service, proxies will use the ServiceProfile configuration, rather than the
HTTPRoute configuration, as long as the ServiceProfile exists.
**Outbound HTTPRoutes and [ServiceProfile](../../features/service-profiles/)s
provide overlapping configuration.** For backwards-compatibility reasons, a
ServiceProfile will take precedence over HTTPRoutes which configure the same
Service. If a ServiceProfile is defined for the parent Service of an HTTPRoute,
proxies will use the ServiceProfile configuration, rather than the HTTPRoute
configuration, as long as the ServiceProfile exists.
{{< /warning >}}

{{< table >}}
Expand Down Expand Up @@ -272,3 +273,5 @@ spec:
- name: smiley
port: 80
```

[ServiceProfile]: ../../features/service-profiles/
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,13 @@ namespace (`test`), and also specify the Service port number (not the Service's
target port).

{{< warning >}}
Outbound `HTTPRoute`s are **incompatible with `ServiceProfiles`**. If a
[ServiceProfile](../../features/service-profiles/) is defined for the parent
Service of an [`HTTPRoute`], proxies will use the `ServiceProfile` configuration,
rather than the [`HTTPRoute`] configuration, as long as the `ServiceProfile`
exists.
**Outbound [`HTTPRoute`](../../features/httproute/)s and
[`ServiceProfile`](../../features/service-profiles/)s provide overlapping
configuration.** For backwards-compatibility reasons, a `ServiceProfile` will
take precedence over `HTTPRoute`s which configure the same Service. If a
`ServiceProfile` is defined for the parent Service of an `HTTPRoute`,
proxies will use the `ServiceProfile` configuration, rather than the
`HTTPRoute` configuration, as long as the `ServiceProfile` exists.
{{< /warning >}}

Next, we give a list of rules that will act on the traffic hitting that Service.
Expand Down Expand Up @@ -171,3 +173,4 @@ more workloads you have injected the better, to benefit from things like easy
mTLS setup and all the other advantages that linkerd brings to the table!

[`HTTPRoute`]: ../../features/httproute/
[`ServiceProfile`]: ../../features/ServiceProfile/

0 comments on commit 9ab165b

Please sign in to comment.