istio
1apiVersion: networking.istio.io/v1alpha3
2kind: Gateway
3metadata:
4annotations:
5internal.istio.io/gateway-semantics: gateway
6internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
7internal.istio.io/parents: Gateway/gateway/default.istio-system
8creationTimestamp: null
9name: gateway-istio-autogenerated-k8s-gateway-default
10namespace: istio-system
11spec:
12servers:
13- hosts:
14- '*/*.domain.example'
15port:
16name: default
17number: 80
18protocol: HTTP
19---
20apiVersion: networking.istio.io/v1alpha3
21kind: VirtualService
22metadata:
23annotations:
24internal.istio.io/parents: HTTPRoute/http.default
25internal.istio.io/route-semantics: gateway
26creationTimestamp: null
27name: http-0-istio-autogenerated-k8s-gateway
28namespace: default
29spec:
30gateways:
31- istio-system/gateway-istio-autogenerated-k8s-gateway-default
32hosts:
33- first.domain.example
34http:
35- match:
36- uri:
37prefix: /
38name: default.http.0
39route:
40- destination:
41host: httpbin.default.svc.domain.suffix
42port:
43number: 80
44---
45apiVersion: networking.istio.io/v1alpha3
46kind: VirtualService
47metadata:
48annotations:
49internal.istio.io/parents: HTTPRoute/http.default
50internal.istio.io/route-semantics: gateway
51creationTimestamp: null
52name: http-1-istio-autogenerated-k8s-gateway
53namespace: default
54spec:
55gateways:
56- istio-system/gateway-istio-autogenerated-k8s-gateway-default
57hosts:
58- another.domain.example
59http:
60- match:
61- uri:
62prefix: /
63name: default.http.0
64route:
65- destination:
66host: httpbin.default.svc.domain.suffix
67port:
68number: 80
69---
70