github.com/nginxinc/kubernetes-ingress@v1.12.5/tests/data/virtual-server-route-upstream-options/plus-route-s-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      sessionCookie:
    12        name: True
    13        path: 100
    14        expires: False
    15        domain: 0
    16        httpOnly: "yes"
    17        secure: "no"
    18      healthCheck:
    19        enable: "yes"
    20        path: 200
    21        interval: 1.5
    22        jitter: 2.0
    23        fails: "one"
    24        passes: "one"
    25        port: "80"
    26        connect-timeout: False
    27        read-timeout: 100
    28        send-timeout: 200
    29        headers:
    30          - name: 100
    31            value: 100
    32        statusMatch: 100
    33      slow-start: True
    34      queue:
    35        size: "one"
    36        timeout: 1
    37    subroutes:
    38    - path: "/backend2"
    39      action:
    40        pass: backend2