Backport: Default Envoy Proxy drainTimeout to 240s, matching NGINX (10.6)
What does this MR do?
Backport of Default Envoy Proxy drainTimeout to 240s, match... (!5625 - merged) to 10-6-stable, as requested.
Sets gatewayApiResources.envoy.proxySpec.shutdown.drainTimeout to 240s by default. Envoy Gateway's default of 60s cuts in-flight requests, such as long Git clones, during Envoy Proxy rollouts and node drains. The bundled NGINX Ingress allowed 240s (worker-shutdown-timeout). Envoy Gateway sets the pod terminationGracePeriodSeconds to drainTimeout + 300s, so it goes from 360 to 540.
The cherry-pick applied cleanly. This branch bundles Envoy Gateway 1.10.0, which has the same shutdown defaults and code as the version validated in the original MR.
Related issues
- Original MR: Default Envoy Proxy drainTimeout to 240s, match... (!5625 - merged)
- Reported in https://gitlab.com/gitlab-com/gl-infra/gitlab-dedicated/instrumentor/-/merge_requests/9331#note_4259937772
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. (
spec/configuration/gatewayapi_spec.rbpasses locally on this branch) - Have you validated that your change works end-to-end on a real cluster deployment?
- Validated on the original MR: !5625 (comment 4267075034)
- Equivalent MR/issue for omnibus-gitlab opened. (Not applicable: Omnibus does not use Envoy Gateway)
- When ready for review, MR is marked as ready (not a draft) and assigned to a reviewer.
Reviewers checklist
- As soon as you begin reviewing, select Start a review on your first comment so the MR shows Reviewer started review.
- MR has a green pipeline on https://gitlab.com/gitlab-org/charts/gitlab.
- Consider downstream impact to the Operator, as per evaluating impact from changes to GitLab chart. (No impact, see !5625 (comment 4268309982))