...

Text file src/sigs.k8s.io/gateway-api/conformance/tests/httproute-backend-protocol-h2c.yaml

Documentation: sigs.k8s.io/gateway-api/conformance/tests

     1apiVersion: gateway.networking.k8s.io/v1
     2kind: HTTPRoute
     3metadata:
     4  name: backend-protocol-h2c
     5  namespace: gateway-conformance-infra
     6spec:
     7  parentRefs:
     8  - name: same-namespace
     9  rules:
    10  - backendRefs:
    11  # This points to a Service with the following ServicePort
    12  # - protocol: TCP
    13  #   appProtocol: kubernetes.io/h2c
    14  #   port: 8081
    15  #   targetPort: 3001
    16    - name: infra-backend-v1
    17      port: 8081

View as plain text