github.com/nginxinc/kubernetes-ingress@v1.12.5/tests/data/virtual-server-route-upstream-options/route-single-invalid-keys-openapi.yaml (about)

     1  apiVersion: k8s.nginx.org/v1
     2  kind: VirtualServerRoute
     3  metadata:
     4    name: backend2
     5  spec:
     6    host: virtual-server-route.example.com
     7    upstreams:
     8    - name: backend2
     9      service: backend2-svc
    10      port: 80
    11      lb-method: False
    12      max-fails: "10"
    13      fail-timeout: 20
    14      connect-timeout: 1.5
    15      read-timeout: 2.0
    16      send-timeout: 3.0
    17      keepalive: "one"
    18      max-conns: "two"
    19      next-upstream: 100
    20      next-upstream-timeout: False
    21      next-upstream-tries: True
    22      client-max-body-size: 10
    23      buffers:
    24        number: "1"
    25        size: 10
    26      buffer-size: 10
    27      buffering: 20
    28      tls: "yes"
    29    subroutes:
    30    - path: "/backend2"
    31      action:
    32        pass: backend2