Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding BackendTrafficPolicy removes the HTTPRoute timeout configuration #4426

Open
tejaboppana opened this issue Oct 11, 2024 · 0 comments
Open
Labels

Comments

@tejaboppana
Copy link

Description:
When we create a HTTPRoute with timeouts and create BackendTrafficPolicy attached to this HTTPRoute, the route timeout is wiped out. This issue is similar to #4091

Repro steps:

  • Create HTTPRoute with timeouts
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: http-app-1
spec:
  parentRefs:
  - name: my-gateway
  hostnames:
  - "foo.com"
  rules:
  - matches:
    - path:
        value: "/foo"
      headers:
      - name: "version"
        value: "2"
    - path:
        value: "/v2/foo"
    timeouts:
       request: "0s"
  • Create a BackendTrafficPolicy attached to the above HTTPRoute
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: BackendTrafficPolicy
metadata:
  name: test
spec:
  targetRefs:
    - group: gateway.networking.k8s.io
      kind: HTTPRoute
      name: http-app-1
   timeout:
      http:
         connectionIdleTimeout: "300s"

Environment:
Gateway versions 1.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant