istio
1# Copyright 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
15################################################################################
16# tcp-echo service
17################################################################################
18apiVersion: v119kind: Service20metadata:21name: tcp-echo22labels:23app: tcp-echo24service: tcp-echo25spec:26ipFamilyPolicy: RequireDualStack27ipFamilies:28- IPv629- IPv430ports:31- name: tcp32port: 900033- name: tcp-other34port: 900135# Port 9002 is omitted intentionally for testing the pass through filter chain.36selector:37app: tcp-echo38---
39apiVersion: apps/v140kind: Deployment41metadata:42name: tcp-echo43spec:44replicas: 145selector:46matchLabels:47app: tcp-echo48version: v149template:50metadata:51labels:52app: tcp-echo53version: v154spec:55containers:56- name: tcp-echo57image: docker.io/istio/tcp-echo-server:1.358imagePullPolicy: IfNotPresent59args: [ "9000,9001,9002", "hello" ]60ports:61- containerPort: 900062- containerPort: 900163