diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-08 12:42:28 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-08 12:42:28 -0600 |
| commit | 52423eda4ad61eb4186988809e68439bd548fd79 (patch) | |
| tree | 9ce83ac37b9b8b9e55cdb0cc3e738823cb13e164 /envoy.yml | |
| parent | 5c57787f312597f8dcc61922da9428ca745eb067 (diff) | |
chore: bundle envoy with sparkle
Diffstat (limited to 'envoy.yml')
| -rw-r--r-- | envoy.yml | 48 |
1 files changed, 45 insertions, 3 deletions
@@ -1,5 +1,47 @@ admin: + access_log_path: /tmp/admin_access.log address: - socket_address: - address: 127.0.0.1 - port_value: 9902 + 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: 10000 } + 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 + access_log: + - name: envoy.access_loggers.stdout + typed_config: + "@type": type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog + route_config: + name: local_route + virtual_hosts: + - name: local_service + domains: ["*"] + routes: + - match: { prefix: "/" } + route: { cluster: sparkle } + http_filters: + - name: envoy.filters.http.router + typed_config: + "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router + + clusters: + - name: sparkle + connect_timeout: 0.25s + type: STRICT_DNS + lb_policy: ROUND_ROBIN + load_assignment: + cluster_name: sparkle + endpoints: + - lb_endpoints: + - endpoint: + address: + socket_address: + address: localhost + port_value: 8080 |
