github.com/nginxinc/kubernetes-ingress@v1.12.5/examples-of-custom-resources/cross-namespace-configuration/tea-virtual-server-route.yaml (about) 1 apiVersion: k8s.nginx.org/v1 2 kind: VirtualServerRoute 3 metadata: 4 name: tea 5 namespace: tea 6 spec: 7 host: cafe.example.com 8 upstreams: 9 - name: tea 10 service: tea-svc 11 port: 80 12 subroutes: 13 - path: /tea 14 action: 15 pass: tea