Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. static_resources:
  2. listeners:
  3. - address:
  4. socket_address:
  5. address: 0.0.0.0
  6. port_value: 80
  7. filter_chains:
  8. - filters:
  9. - name: envoy.http_connection_manager
  10. config:
  11. codec_type: auto
  12. stat_prefix: ingress_http
  13. route_config:
  14. name: local_route
  15. virtual_hosts:
  16. - name: backend
  17. domains:
  18. - “*”
  19. routes:
  20. - match:
  21. prefix: “/”
  22. route:
  23. cluster: service1
  24. - match:
  25. prefix: “/admin”
  26. route:
  27. cluster: service2
  28. http_filters:
  29. - name: envoy.router
  30. config: {}
  31. clusters:
  32. - name: service1
  33. connect_timeout: 0.25s
  34. type: strict_dns
  35. lb_policy: round_robin
  36. http2_protocol_options: {}
  37. hosts:
  38. - socket_address:
  39. address: service1
  40. port_value: 80
  41. - name: service2
  42. connect_timeout: 0.25s
  43. type: strict_dns
  44. lb_policy: round_robin
  45. http2_protocol_options: {}
  46. hosts:
  47. - socket_address:
  48. address: service2
  49. port_value: 80
  50. admin:
  51. access_log_path: “/dev/null”
  52. address:
  53. socket_address:
  54. address: 0.0.0.0
  55. port_value: 8001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement