github.com/nginxinc/kubernetes-ingress@v1.12.5/tests/data/virtual-server-upstream-options/plus-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 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 - name: backend1 38 service: backend1-svc 39 port: 80 40 sessionCookie: 41 name: True 42 path: 100 43 expires: False 44 domain: 0 45 httpOnly: "yes" 46 secure: "no" 47 healthCheck: 48 enable: "yes" 49 path: 200 50 interval: 1.5 51 jitter: 2.0 52 fails: "one" 53 passes: "one" 54 port: "80" 55 connect-timeout: False 56 read-timeout: 100 57 send-timeout: 200 58 headers: 59 - name: 100 60 value: 100 61 statusMatch: 100 62 slow-start: True 63 queue: 64 size: "one" 65 timeout: 1 66 routes: 67 - path: "/backend1" 68 action: 69 pass: backend1 70 - path: "/backend2" 71 action: 72 pass: backend2