Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #service-envoy.yaml
- static_resources:
- listeners:
- - address:
- socket_address:
- address: 0.0.0.0
- port_value: 80
- filter_chains:
- - filters:
- - name: envoy.http_connection_manager
- config:
- codec_type: auto
- stat_prefix: ingress_http
- route_config:
- name: local_route
- virtual_hosts:
- - name: service
- domains:
- - "*"
- routes:
- - match:
- prefix: "/service"
- route:
- cluster: local_service
- http_filters:
- - name: envoy.router
- config: {}
- clusters:
- - name: local_service
- connect_timeout: 0.25s
- type: strict_dns
- lb_policy: round_robin
- hosts:
- - socket_address:
- address: 127.0.0.1
- port_value: 8080
- admin:
- access_log_path: "/dev/null"
- address:
- socket_address:
- address: 0.0.0.0
- port_value: 8081
- #front-envoy.yaml
- static_resources:
- listeners:
- - address:
- socket_address:
- address: 0.0.0.0
- port_value: 80
- filter_chains:
- - filters:
- - name: envoy.http_connection_manager
- config:
- codec_type: auto
- stat_prefix: ingress_http
- route_config:
- name: local_route
- virtual_hosts:
- - name: backend
- domains:
- - "*"
- routes:
- - match:
- prefix: "/service"
- route:
- cluster: testservice
- http_filters:
- - name: envoy.router
- config: {}
- clusters:
- - name: testservice
- connect_timeout: 0.25s
- type: logical_dns
- lb_policy: round_robin
- http2_protocol_options: {}
- hosts:
- - socket_address:
- # this is the ecs service discovery endpoint for our service
- address: testservice.ecs
- port_value: 80
- admin:
- access_log_path: "/dev/null"
- address:
- socket_address:
- address: 0.0.0.0
- port_value: 8001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement