Advertisement
Guest User

sidecar config

a guest
Mar 13th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. listeners:
  2. - address: tcp://0.0.0.0:12345
  3.  
  4. ssl_context:
  5. cert_chain_file: /my-cert-dir/my-cert.crt
  6. private_key_file: /my-cert-dir/my-cert.key
  7. alpn_protocols: h2,http/1.1
  8.  
  9. filters:
  10. - type: read
  11. name: http_connection_manager
  12. config:
  13. server_name: sidecar
  14. codec_type: auto
  15. stat_prefix: ingress_http
  16.  
  17. access_log:
  18. - path: /tmp/sidecar_access.log
  19. filter:
  20. type: not_healthcheck
  21.  
  22. route_config:
  23.  
  24. virtual_hosts:
  25.  
  26. - name: other
  27. domains:
  28. - "*"
  29. routes:
  30.  
  31. - timeout_ms: 0
  32. prefix: "/"
  33. headers:
  34. - name: content-type
  35. value: application/grpc
  36. cluster: my_cluster
  37.  
  38. filters:
  39. - type: decoder
  40. name: router
  41. config: {}
  42.  
  43. admin:
  44. access_log_path: "/tmp/sidecar_admin_access.log"
  45. address: tcp://127.0.0.1:9902
  46.  
  47. cluster_manager:
  48. clusters:
  49.  
  50. - name: my_cluster
  51. ssl_context:
  52. ca_cert_file: /my-cert-dir/ca.crt
  53. alpn_protocols: h2,http/1.1
  54. connect_timeout_ms: 250
  55. type: static
  56. lb_type: round_robin
  57. features: http2
  58. hosts:
  59. - url: tcp://127.0.0.1:2805
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement