Created
September 22, 2021 22:23
-
-
Save yugandhar91/3e998201f23b6c0df4feacc772b25219 to your computer and use it in GitHub Desktop.
envoy-demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
admin: | |
address: | |
socket_address: { address: 0.0.0.0, port_value: 9901 } | |
static_resources: | |
listeners: | |
- name: listener_0 | |
address: | |
socket_address: { address: 0.0.0.0, port_value: 443 } | |
filter_chains: | |
- filters: | |
- name: envoy.filters.network.http_connection_manager | |
typed_config: | |
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager | |
stat_prefix: ingress_http | |
codec_type: AUTO | |
route_config: | |
name: local_route | |
virtual_hosts: | |
- name: local_service | |
domains: ["*"] | |
routes: | |
- match: { prefix: "/" } | |
route: { cluster: some_service } | |
http_filters: | |
- name: envoy.filters.http.router | |
clusters: | |
- name: some_service | |
connect_timeout: 0.25s | |
type: STATIC | |
lb_policy: ROUND_ROBIN | |
load_assignment: | |
cluster_name: some_service | |
endpoints: | |
- lb_endpoints: | |
- endpoint: | |
address: | |
socket_address: | |
address: 127.0.0.1 | |
port_value: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment