Set a default connectionIdleTimeout for webservice

What does this MR do?

Sets a default connectionIdleTimeout of 15s on the webservice BackendTrafficPolicy.

Envoy keeps idle pooled upstream connections for an hour by default, and under bursty traffic these accumulate until the upstream circuit breaker limit is reached. Closing idle connections after 15s keeps the active count in line with actual load. Workhorse sets no server idle timeout, so Envoy is always the side closing them and there's no race with the backend.

The value is overridable as before under gitlab.webservice.backendTrafficPolicy.spec.

Closes #6708 (closed)

Related: https://gitlab.com/gitlab-com/gl-infra/gitlab-dedicated/team/-/work_items/13645, !5330 (closed)

Author checklist

For general guidance, please follow our Contributing guide.

Required

For anything in this list which will not be completed, please provide a reason in the MR discussion.

  • Merge Request Title and Description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • MR has a green pipeline.
  • Documentation created/updated.
  • Tests added/updated.
  • Have you validated that your change works end-to-end on a real cluster deployment?
    • GitLab Dedicated run this value in production as an override, see the related issue.
  • Equivalent MR/issue for omnibus-gitlab opened.
    • Not applicable, Envoy Gateway is chart only.
  • When ready for review, MR is marked as ready (not a draft) and assigned to a reviewer.

Reviewers checklist

Merge request reports

Loading
Loading