• Kubernetes Submit Queue's avatar
    Merge pull request #60054 from MikeSpreitzer/issue-60042-field · 3c2a0c84
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 60054, 60202, 60219, 58090, 60275). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Fixes for HTTP/2 max streams per connection setting
    
    **What this PR does / why we need it**:
    This PR makes two changes.  One is to introduce a parameter
    for the HTTP/2 setting that an api-server sends to its clients
    telling them how many streams they may have concurrently open in
    an HTTP/2 connection.  If left at its default value of zero,
    this means to use the default in golang's HTTP/2 code (which
    is currently 250; see https://github.com/golang/net/blob/master/http2/server.go).
    
    The other change is to make the recommended options for an aggregated
    api-server set this limit to 1000.  The limit of 250 is annoyingly low
    for the use case of many controllers watching objects of Kinds served
    by an aggregated api-server reached through the main api-server (in
    its mode as a proxy for the aggregated api-server, in which it uses a
    single HTTP/2 connection for all calls proxied to that aggregated
    api-server).
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #60042
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    Introduced `--http2-max-streams-per-connection` command line flag on api-servers and set default to 1000 for aggregated API servers.
    ```
    3c2a0c84
Name
Last commit
Last update
..
app Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
controller-manager.go Loading commit data...