istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/gateway/testdata/mcs.yaml (about) 1 apiVersion: gateway.networking.k8s.io/v1beta1 2 kind: Gateway 3 metadata: 4 name: gateway 5 namespace: istio-system 6 spec: 7 addresses: 8 - value: istio-ingressgateway 9 type: Hostname 10 gatewayClassName: istio 11 listeners: 12 - name: default 13 port: 34000 14 protocol: TCP 15 --- 16 apiVersion: gateway.networking.k8s.io/v1alpha2 17 kind: TCPRoute 18 metadata: 19 name: tcp 20 namespace: istio-system 21 spec: 22 parentRefs: 23 - name: gateway 24 namespace: istio-system 25 rules: 26 - backendRefs: 27 - group: multicluster.x-k8s.io 28 kind: ServiceImport 29 name: echo 30 port: 80