Skip to content

Increase keepalive-requests from 100 to 1000, the nginx default #5050

Closed
@nickzelei

Description

@nickzelei

The default value for keepalive_requests is 1000 as per the nginx docs here. This was changed in version 1.19.10.
However, the ingress controller still defaults this value to 100.

image

https://docs.nginx.com/nginx-ingress-controller/configuration/global-configuration/configmap-resource/

The same could be said for the timeout, which nginx defaults to 75s, but the controller is still defaulting to 65s.

I was debugging a GOAWAY issue and all of the info I could find around the web pointed to this value. I was relieved to find that the ingress controller was still setting it to a lower value as when bumped to 1000, my issue went away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogPull requests/issues that are backlog itemsproposalAn issue that proposes a feature request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions