istio.io/istio@v0.0.0-20240520182934-d79c90f27776/samples/multicluster/expose-istiod.yaml (about) 1 apiVersion: networking.istio.io/v1alpha3 2 kind: Gateway 3 metadata: 4 name: istiod-gateway 5 spec: 6 selector: 7 istio: eastwestgateway 8 servers: 9 - port: 10 name: tls-istiod 11 number: 15012 12 protocol: tls 13 tls: 14 mode: PASSTHROUGH 15 hosts: 16 - "*" 17 - port: 18 name: tls-istiodwebhook 19 number: 15017 20 protocol: tls 21 tls: 22 mode: PASSTHROUGH 23 hosts: 24 - "*" 25 --- 26 apiVersion: networking.istio.io/v1alpha3 27 kind: VirtualService 28 metadata: 29 name: istiod-vs 30 spec: 31 hosts: 32 - "*" 33 gateways: 34 - istiod-gateway 35 tls: 36 - match: 37 - port: 15012 38 sniHosts: 39 - "*" 40 route: 41 - destination: 42 host: istiod.istio-system.svc.cluster.local 43 port: 44 number: 15012 45 - match: 46 - port: 15017 47 sniHosts: 48 - "*" 49 route: 50 - destination: 51 host: istiod.istio-system.svc.cluster.local 52 port: 53 number: 443 54