From de659a1b9f47e547f16a82e1f8c853b76d0584c0 Mon Sep 17 00:00:00 2001 From: Jonathan Irwin Date: Fri, 7 Aug 2026 16:56:33 -0400 Subject: [PATCH] fix(kourier): extend gateway drain to match axon request timeout Kourier fronts axon, which runs with timeoutSeconds 3605. The 15s drain window cut long-running requests off on gateway shutdown and rollout. DRAIN_TIME_SECONDS 15 -> 3605, terminationGracePeriodSeconds 30 -> 3665, preserving the documented grace > drain invariant. Co-Authored-By: Claude Opus 5 (1M context) --- cmd/operator/kodata/ingress/1.18/kourier/kourier.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/operator/kodata/ingress/1.18/kourier/kourier.yaml b/cmd/operator/kodata/ingress/1.18/kourier/kourier.yaml index d3e7f3b25..19dc41ca5 100644 --- a/cmd/operator/kodata/ingress/1.18/kourier/kourier.yaml +++ b/cmd/operator/kodata/ingress/1.18/kourier/kourier.yaml @@ -497,7 +497,7 @@ spec: - /usr/local/bin/envoy env: - name: DRAIN_TIME_SECONDS - value: "15" + value: "3605" image: docker.io/envoyproxy/envoy:v1.34-latest name: kourier-gateway ports: @@ -567,7 +567,7 @@ spec: cpu: "1" memory: 800Mi # to ensure a graceful drain, terminationGracePeriodSeconds must be greater than DRAIN_TIME_SECONDS environment variable - terminationGracePeriodSeconds: 30 + terminationGracePeriodSeconds: 3665 volumes: - name: config-volume configMap: