-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Limit GRPC Active streams #33936
Limit GRPC Active streams #33936
Conversation
Originally there was a default limit of 100 max concurrent streams, however in 2017 the GRPC team removed this default: grpc/grpc-go#1624 With the recent HTTP/2 Rapid Reset DoS, it is now being encouraged to re-introduce a limit. The fix requires this value to be configured in fact: grpc/grpc-go#6703
The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with |
I would run a scale test or wait for a full test plan before merging this one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I share the same concerns as @zmb3 about putting this change into a release without any stress testing.
@@ -100,6 +100,10 @@ const ( | |||
// By default all users use /bin/bash | |||
DefaultShell = "/bin/bash" | |||
|
|||
// GRPCMaxConcurrentStreams is the max GRPC streams that can be active at a time. Once the limit is reached new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: slightly pedantic but it is gRPC not GRPC
I have some unrelated scale testing to do today. Will pull in this PR as well. |
Update: did a 30k agent scaling test with these changes included (2 auth/2 proxy/etcd backend). Didn't observe any ill effects in metrics/logs, and manually verified basic cluster functionality (login/UI navigation/ssh access). Seems peachy. |
Originally there was a default limit of 100 max concurrent streams, however in 2017 the GRPC team removed this default: grpc/grpc-go#1624 With the recent HTTP/2 Rapid Reset DoS, it is now being encouraged to re-introduce a limit. The fix requires this value to be configured in fact: grpc/grpc-go#6703
Originally there was a default limit of 100 max concurrent streams, however in 2017 the GRPC team removed this default: grpc/grpc-go#1624 With the recent HTTP/2 Rapid Reset DoS, it is now being encouraged to re-introduce a limit. The fix requires this value to be configured in fact: grpc/grpc-go#6703
Originally there was a default limit of 100 max concurrent streams, however in 2017 the GRPC team removed this default: grpc/grpc-go#1624 With the recent HTTP/2 Rapid Reset DoS, it is now being encouraged to re-introduce a limit. The fix requires this value to be configured in fact: grpc/grpc-go#6703
* Limit GRPC Active streams (#33936) Originally there was a default limit of 100 max concurrent streams, however in 2017 the GRPC team removed this default: grpc/grpc-go#1624 With the recent HTTP/2 Rapid Reset DoS, it is now being encouraged to re-introduce a limit. The fix requires this value to be configured in fact: grpc/grpc-go#6703 * Update gRPC to 1.58.3 to address GHSA-m425-mq94-257g
* Limit GRPC Active streams (#33936) Originally there was a default limit of 100 max concurrent streams, however in 2017 the GRPC team removed this default: grpc/grpc-go#1624 With the recent HTTP/2 Rapid Reset DoS, it is now being encouraged to re-introduce a limit. The fix requires this value to be configured in fact: grpc/grpc-go#6703 * Update gRPC to 1.58.3 to address GHSA-m425-mq94-257g
* Limit GRPC Active streams (#33936) Originally there was a default limit of 100 max concurrent streams, however in 2017 the GRPC team removed this default: grpc/grpc-go#1624 With the recent HTTP/2 Rapid Reset DoS, it is now being encouraged to re-introduce a limit. The fix requires this value to be configured in fact: grpc/grpc-go#6703 * Update gRPC to 1.58.3 to address GHSA-m425-mq94-257g
Originally there was a default limit of 100 max concurrent streams, however in 2017 the GRPC team removed this default: grpc/grpc-go#1624
With the recent HTTP/2 Rapid Reset DoS, it is now being encouraged to re-introduce a limit. The fix actually requires this value to be configured: grpc/grpc-go#6703
I choose a value of
1000
, which should be excessively large (10x the old default of 100).For that reason this fix will be backported. When we backport to v14 and older we will also update
grpc-go
to the recent 1.58.3 which includes an additional fix (not needed inmaster
due to already being on 1.59.0)