istio.io/istio@v0.0.0-20240520182934-d79c90f27776/samples/httpbin/sample-client/fortio-deploy.yaml (about) 1 apiVersion: v1 2 kind: Service 3 metadata: 4 name: fortio 5 labels: 6 app: fortio 7 service: fortio 8 spec: 9 ports: 10 - port: 8080 11 name: http 12 selector: 13 app: fortio 14 --- 15 apiVersion: apps/v1 16 kind: Deployment 17 metadata: 18 name: fortio-deploy 19 spec: 20 replicas: 1 21 selector: 22 matchLabels: 23 app: fortio 24 template: 25 metadata: 26 annotations: 27 # This annotation causes Envoy to serve cluster.outbound statistics via 15000/stats 28 # in addition to the stats normally served by Istio. The Circuit Breaking example task 29 # gives an example of inspecting Envoy stats via proxy config. 30 proxy.istio.io/config: |- 31 proxyStatsMatcher: 32 inclusionPrefixes: 33 - "cluster.outbound" 34 - "cluster_manager" 35 - "listener_manager" 36 - "server" 37 - "cluster.xds-grpc" 38 labels: 39 app: fortio 40 spec: 41 containers: 42 - name: fortio 43 image: fortio/fortio:latest_release 44 imagePullPolicy: Always 45 ports: 46 - containerPort: 8080 47 name: http-fortio 48 - containerPort: 8079 49 name: grpc-ping