...

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

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

     1apiVersion: gateway.networking.k8s.io/v1
     2kind: HTTPRoute
     3metadata:
     4  name: backend-protocol-ws
     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    # - name: third-port
    13    #   appProtocol: kubernetes.io/ws
    14    #   protocol: TCP
    15    #   port: 8082
    16    #   targetPort: 3000
    17    - name: infra-backend-v1
    18      port: 8082

View as plain text