istio
1apiVersion: networking.istio.io/v1alpha3
2kind: Gateway
3metadata:
4creationTimestamp: null
5name: foo-istio-autogenerated-k8s-ingress-ns
6namespace: istio-system
7spec:
8selector:
9istio: ingressgateway
10servers:
11- hosts:
12- '*'
13port:
14name: http-80-ingress-foo-ns
15number: 80
16protocol: HTTP
17---
18apiVersion: networking.istio.io/v1alpha3
19kind: VirtualService
20metadata:
21annotations:
22internal.istio.io/route-semantics: ingress
23creationTimestamp: null
24name: foohost-bar-com-foo-istio-autogenerated-k8s-ingress
25namespace: ns
26spec:
27gateways:
28- istio-system/foo-istio-autogenerated-k8s-ingress-ns
29hosts:
30- foohost.bar.com
31http:
32- match:
33- uri:
34exact: /sub/path/
35route:
36- destination:
37host: service1.ns.svc.mydomain
38port:
39number: 4202
40weight: 100
41- match:
42- uri:
43exact: /sub/path/
44route:
45- destination:
46host: service1.ns.svc.mydomain
47port:
48number: 4207
49weight: 100
50- match:
51- uri:
52prefix: /sub/path/
53route:
54- destination:
55host: service1.ns.svc.mydomain
56port:
57number: 4209
58weight: 100
59- match:
60- uri:
61exact: /sub/path
62route:
63- destination:
64host: service1.ns.svc.mydomain
65port:
66number: 4201
67weight: 100
68- match:
69- uri:
70exact: /sub/path
71route:
72- destination:
73host: service1.ns.svc.mydomain
74port:
75number: 4206
76weight: 100
77- match:
78- uri:
79prefix: /sub/path
80route:
81- destination:
82host: service1.ns.svc.mydomain
83port:
84number: 4208
85weight: 100
86- match:
87- uri:
88exact: /regex2*
89route:
90- destination:
91host: service1.ns.svc.mydomain
92port:
93number: 4204
94weight: 100
95- match:
96- uri:
97prefix: /regex1
98route:
99- destination:
100host: service1.ns.svc.mydomain
101port:
102number: 4203
103weight: 100
104- match:
105- uri:
106prefix: /regex3
107route:
108- destination:
109host: service1.ns.svc.mydomain
110port:
111number: 4205
112weight: 100
113- match:
114- uri:
115exact: /path
116route:
117- destination:
118host: service1.ns.svc.mydomain
119port:
120number: 4200
121weight: 100
122---
123