Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 1 | admin: |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 2 | address: |
| 3 | socket_address: |
| 4 | address: 0.0.0.0 |
| 5 | port_value: 8081 |
| 6 | static_resources: |
| 7 | listeners: |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 8 | - address: |
| 9 | socket_address: |
| 10 | protocol: TCP |
| 11 | address: 0.0.0.0 |
Matus Fabian | 8792e5c | 2024-08-14 12:38:20 +0200 | [diff] [blame^] | 12 | port_value: {{.ProxyPort}} |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 13 | filter_chains: |
| 14 | - filters: |
| 15 | - name: envoy.filters.network.http_connection_manager |
| 16 | typed_config: |
| 17 | "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager |
| 18 | stat_prefix: ingress_http |
| 19 | route_config: |
| 20 | name: local_route |
| 21 | virtual_hosts: |
| 22 | - name: service |
| 23 | domains: ["*"] |
| 24 | routes: |
| 25 | - match: |
| 26 | prefix: "/" |
| 27 | route: |
| 28 | cluster: proxy_service |
| 29 | http_filters: |
| 30 | - name: envoy.filters.http.router |
Adrian Villin | 2a2c653 | 2024-07-23 12:51:14 +0200 | [diff] [blame] | 31 | typed_config: |
| 32 | "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router |
Matus Fabian | 8792e5c | 2024-08-14 12:38:20 +0200 | [diff] [blame^] | 33 | access_log: |
| 34 | - name: envoy.access_loggers.file |
| 35 | typed_config: |
| 36 | "@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog |
| 37 | path: /tmp/vpp-envoy/{{.LogPrefix}}-access.log |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 38 | clusters: |
| 39 | - name: proxy_service |
| 40 | connect_timeout: 0.25s |
| 41 | type: LOGICAL_DNS |
| 42 | dns_lookup_family: V4_ONLY |
| 43 | lb_policy: ROUND_ROBIN |
| 44 | load_assignment: |
| 45 | cluster_name: proxy_service |
| 46 | endpoints: |
| 47 | - lb_endpoints: |
| 48 | - endpoint: |
| 49 | address: |
| 50 | socket_address: |
Matus Fabian | 8792e5c | 2024-08-14 12:38:20 +0200 | [diff] [blame^] | 51 | address: {{.ServerAddress}} |
| 52 | port_value: {{.ServerPort}} |
Filip Tehlar | 229f5fc | 2022-08-09 14:44:47 +0000 | [diff] [blame] | 53 | bootstrap_extensions: |
| 54 | - name: envoy.extensions.vcl.vcl_socket_interface |
| 55 | typed_config: |
| 56 | "@type": type.googleapis.com/envoy.extensions.vcl.v3alpha.VclSocketInterface |
| 57 | default_socket_interface: "envoy.extensions.vcl.vcl_socket_interface" |