fortio-deploy.yaml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: fortio
  5. labels:
  6. app: fortio
  7. spec:
  8. ports:
  9. - port: 8080
  10. name: http
  11. selector:
  12. app: fortio
  13. ---
  14. apiVersion: apps/v1
  15. kind: Deployment
  16. metadata:
  17. name: fortio-deploy
  18. spec:
  19. replicas: 1
  20. selector:
  21. matchLabels:
  22. app: fortio
  23. template:
  24. metadata:
  25. annotations:
  26. # This annotation causes Envoy to serve cluster.outbound statistics via 15000/stats
  27. # in addition to the stats normally served by Istio. The Circuit Breaking example task
  28. # gives an example of inspecting Envoy stats.
  29. sidecar.istio.io/statsInclusionPrefixes: cluster.outbound,cluster_manager,listener_manager,http_mixer_filter,tcp_mixer_filter,server,cluster.xds-grpc
  30. labels:
  31. app: fortio
  32. spec:
  33. containers:
  34. - name: fortio
  35. image: fortio/fortio:latest_release
  36. imagePullPolicy: Always
  37. ports:
  38. - containerPort: 8080
  39. name: http-fortio
  40. - containerPort: 8079
  41. name: grpc-ping