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

     1  apiVersion: k8s.nginx.org/v1
     2  kind: VirtualServer
     3  metadata:
     4    name: virtual-server
     5  spec:
     6    host: virtual-server.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    - name: backend1
    30      service: backend1-svc
    31      port: 80
    32      lb-method: False
    33      max-fails: "10"
    34      fail-timeout: 20
    35      connect-timeout: 1.5
    36      read-timeout: 2.0
    37      send-timeout: 3.0
    38      keepalive: "one"
    39      max-conns: "two"
    40      next-upstream: 100
    41      next-upstream-timeout: False
    42      next-upstream-tries: True
    43      client-max-body-size: 10
    44      buffers:
    45        number: "1"
    46        size: 10
    47      buffer-size: 10
    48      buffering: "yes"
    49      tls: "no"
    50    routes:
    51    - path: "/backend1"
    52      action:
    53        pass: backend1
    54    - path: "/backend2"
    55      action:
    56        pass: backend2