Draft: Add Envoy connection lifecycle k3d check
What does this MR do?
Adds a focused k3d Envoy connection-lifecycle RSpec feature test for the primary Kubernetes version. The test opens persistent HTTP/1.1 connections through the chart-managed Gateway, sends repeated concurrent bursts separated by idle periods, then verifies that the webservice upstream connections return to baseline after clients close. It also records Envoy Prometheus snapshots and fails if the selected webservice upstream reports connection-circuit-breaker overflow.
The test is intentionally a lightweight regression check rather than a capacity benchmark. A dedicated, isolated primary-k3d job deploys the existing Gateway API topology and runs the tagged RSpec example through the standard chart CI test path. The job runs automatically only when its CI definition, k3d Gateway API values, lifecycle spec, Envoy resources, or the webservice BackendTrafficPolicy change. It retains connection-lifecycle and cluster-debug artifacts for seven days.
The k3d HTTP values configure only this test deployment with webservice.backendTrafficPolicy.spec.timeout.http.connectionIdleTimeout: 15s. This makes the 30-second drain assertion validate explicit lifecycle behavior without changing the chart default.
Related issues
Related: https://gitlab.com/gitlab-com/gl-infra/gitlab-dedicated/team/-/work_items/13645
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.
- The latest pipeline is running.
- Documentation created/updated.
- Not applicable: this is internal chart CI coverage with no user-facing configuration or behavior change.
- Tests added/updated.
- Have you validated that your change works end-to-end on a real cluster deployment?
- The new test requires the CI DinD environment and chart image credentials. The draft pipeline provides the real k3d validation.
- Equivalent MR/issue for omnibus-gitlab opened.
- Not applicable: this changes only the Charts k3d CI.
Reviewers checklist
- 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.