github.com/nginxinc/kubernetes-ingress@v1.12.5/examples-of-custom-resources/basic-configuration/cafe-virtual-server.yaml (about) 1 apiVersion: k8s.nginx.org/v1 2 kind: VirtualServer 3 metadata: 4 name: cafe 5 spec: 6 host: cafe.example.com 7 tls: 8 secret: cafe-secret 9 upstreams: 10 - name: tea 11 service: tea-svc 12 port: 80 13 - name: coffee 14 service: coffee-svc 15 port: 80 16 routes: 17 - path: /tea 18 action: 19 pass: tea 20 - path: /coffee 21 action: 22 pass: coffee