# Gateway.yaml apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: name: ssh-gateway namespace: org1 spec: # The selector matches the ingress gateway pod labels. # If you installed Istio using Helm following the standard documentation, this would be "istio=ingress" selector: istio: ingressgateway servers: - port: number: 32222 name: http protocol: TCP hosts: - ssh1.nhngpuaas.com --- # virtual-service.yaml apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: test namespace: org1 spec: hosts: - "ssh1.nhngpuaas.com" gateways: - ssh-gateway tcp: - match: - port: 32222 route: - destination: port: number: 2222 host: ssh-service