istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/xds/testdata/benchmarks/empty.yaml (about) 1 # Set up a Service associated with our proxy, which will run as 1.1.1.1 IP 2 apiVersion: networking.istio.io/v1alpha3 3 kind: ServiceEntry 4 metadata: 5 name: proxy-service-instance 6 spec: 7 hosts: 8 - example.com 9 ports: 10 - number: 80 11 name: http 12 protocol: HTTP 13 - number: 7070 14 name: tcp 15 protocol: TCP 16 - number: 443 17 name: https 18 protocol: HTTPS 19 - number: 9090 20 name: auto 21 protocol: "" 22 resolution: STATIC 23 location: MESH_INTERNAL 24 endpoints: 25 - address: 1.1.1.1 26 labels: 27 security.istio.io/tlsMode: istio 28 --- 29 # Set up .Services number of services. Each will have 4 ports (one for each protocol) 30 {{- range $i := until .Services }} 31 apiVersion: networking.istio.io/v1alpha3 32 kind: ServiceEntry 33 metadata: 34 name: service-{{$i}} 35 spec: 36 hosts: 37 - random-{{$i}}.host.example 38 addresses: 39 - 127.0.0.{{$i}} 40 ports: 41 - number: 80 42 name: http 43 protocol: HTTP 44 - number: 7070 45 name: tcp 46 protocol: TCP 47 - number: 443 48 name: https 49 protocol: HTTPS 50 - number: 9090 51 name: auto 52 resolution: STATIC 53 location: MESH_INTERNAL 54 endpoints: 55 - address: 1.2.3.4 56 labels: 57 security.istio.io/tlsMode: istio 58 --- 59 {{- end }}