Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy: v2.217.0 #11838

Merged
merged 2 commits into from
Dec 27, 2023
Merged

proxy: v2.217.0 #11838

merged 2 commits into from
Dec 27, 2023

Conversation

olix0r
Copy link
Member

@olix0r olix0r commented Dec 27, 2023

When connecting to a control plane API, the API server can return an HTTP response long before it returns the first stream response. To bound this time, we now enforce timeouts so that failures may result in attempting to use an alternate controller instances.

All controller response streams now use a generic gRPC middleware with initial, idle, and lifetime timeouts. When an initial timeout is encountered, a DeadlineExceeded grpc status is synthesized. When the other timeouts are encountered, the stream terminates gracefully.

These timeouts are configurable by the proxy injector. Timeouts are not enabled without configuration:

  • LINKERD2_PROXY_CONTROL_STREAM_INITIAL_TIMEOUT
  • LINKERD2_PROXY_CONTROL_STREAM_IDLE_TIMEOUT
  • LINKERD2_PROXY_CONTROL_STREAM_LIFETIME

Each of these parameters is optional.


When connecting to a control plane API, the API server can return an
HTTP response long before it returns the first stream response. To bound
this time, we now enforce timeouts so that failures may result in attempting
to use an alternate controller instances.

All controller response streams now use a generic gRPC middleware with
initial, idle, and lifetime timeouts. When an initial timeout is
encountered, a DeadlineExceeded grpc status is synthesized. When the
other timeouts are encountered, the stream terminates gracefully.

These timeouts are configurable by the proxy injector. Timeouts are not
enabled without configuration:

* LINKERD2_PROXY_CONTROL_STREAM_INITIAL_TIMEOUT
* LINKERD2_PROXY_CONTROL_STREAM_IDLE_TIMEOUT
* LINKERD2_PROXY_CONTROL_STREAM_LIFETIME

Each of these parameters is optional.

---

* build(deps): bump semver from 1.0.17 to 1.0.20 (linkerd/linkerd2-proxy#2576)
* build(deps): bump memchr from 2.5.0 to 2.6.4 (linkerd/linkerd2-proxy#2577)
* build(deps): bump arbitrary from 1.2.3 to 1.3.2 (linkerd/linkerd2-proxy#2578)
* build(deps): bump data-encoding from 2.3.3 to 2.5.0 (linkerd/linkerd2-proxy#2579)
* build(deps): bump tj-actions/changed-files from 40.2.3 to 41.0.1 (linkerd/linkerd2-proxy#2586)
* build(deps): bump ahash from 0.8.5 to 0.8.6 (linkerd/linkerd2-proxy#2582)
* build(deps): bump jemallocator from 0.5.0 to 0.5.4 (linkerd/linkerd2-proxy#2581)
* build(deps): bump anyhow from 1.0.69 to 1.0.76 (linkerd/linkerd2-proxy#2583)
* build(deps): bump symbolic-common from 12.6.0 to 12.8.0 (linkerd/linkerd2-proxy#2584)
* build(deps): bump gimli from 0.28.0 to 0.28.1 (linkerd/linkerd2-proxy#2588)
* build(deps): bump foreign-types-macros from 0.2.2 to 0.2.3 (linkerd/linkerd2-proxy#2590)
* build(deps): bump symbolic-demangle from 12.6.0 to 12.8.0 (linkerd/linkerd2-proxy#2591)
* control: Enforce timeouts on response stream (linkerd/linkerd2-proxy#2587)

Signed-off-by: Oliver Gould <[email protected]>
@olix0r olix0r requested a review from a team as a code owner December 27, 2023 18:07
@olix0r olix0r merged commit 68eefed into main Dec 27, 2023
29 checks passed
@olix0r olix0r deleted the ver/v217 branch December 27, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant