From ed19ef6aea6fbf29038fded029ea78e679a2ae37 Mon Sep 17 00:00:00 2001 From: Peter De Sousa Date: Thu, 11 Jun 2026 10:23:36 +0100 Subject: [PATCH 1/2] Add timeouts to vLLM rules Signed-off-by: Peter De Sousa --- helm/templates/route.yaml | 4 ++++ helm/tests/route_test.yaml | 7 +++++++ helm/values.yaml | 4 ++++ 3 files changed, 15 insertions(+) diff --git a/helm/templates/route.yaml b/helm/templates/route.yaml index c607788a7..d23792fc6 100644 --- a/helm/templates/route.yaml +++ b/helm/templates/route.yaml @@ -41,6 +41,10 @@ spec: - backendRefs: - name: {{ $serviceName }} port: {{ $servicePort }} + {{- with $route.timeouts }} + timeouts: + {{- toYaml . | nindent 8 }} + {{- end }} {{- with $route.filters }} filters: {{- toYaml . | nindent 8 }} diff --git a/helm/tests/route_test.yaml b/helm/tests/route_test.yaml index 56ef0d12e..cc7663287 100644 --- a/helm/tests/route_test.yaml +++ b/helm/tests/route_test.yaml @@ -66,6 +66,8 @@ tests: parentRefs: - name: gateway namespace: default + timeouts: + requests: 300s asserts: - hasDocuments: count: 2 @@ -183,3 +185,8 @@ tests: - path: type: PathPrefix value: / + - documentIndex: 1 + equal: + path: spec.rules[0].timeouts + value: + requests: 300s diff --git a/helm/values.yaml b/helm/values.yaml index c5f816b57..b229978aa 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -636,6 +636,10 @@ routerSpec: # - name: X-Custom-Header # value: custom-value + # -- Timeouts applied to the route rule (https://gateway-api.sigs.k8s.io/api-types/httproute/#timeouts-optional) + timeouts: {} + # requests: 300s + # -- Additional custom rules that can be added to the route additionalRules: [] From 681b6208fac23d07020dc035132e520cb7b74f0d Mon Sep 17 00:00:00 2001 From: Peter De Sousa Date: Wed, 1 Jul 2026 15:04:14 +0100 Subject: [PATCH 2/2] Remove timeout comment Signed-off-by: Peter De Sousa --- helm/values.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/helm/values.yaml b/helm/values.yaml index b229978aa..43c5ddaf0 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -638,7 +638,6 @@ routerSpec: # -- Timeouts applied to the route rule (https://gateway-api.sigs.k8s.io/api-types/httproute/#timeouts-optional) timeouts: {} - # requests: 300s # -- Additional custom rules that can be added to the route additionalRules: []