istio
1# Copyright 2018 Istio Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: networking.istio.io/v1alpha316kind: VirtualService17metadata:18name: tcp-echo19spec:20hosts:21- "*"22gateways:23- tcp-echo-gateway24tcp:25- match:26- port: 3140027route:28- destination:29host: tcp-echo30port:31number: 900032subset: v133weight: 8034- destination:35host: tcp-echo36port:37number: 900038subset: v239weight: 2040