blob: 67eb6909ed231553cddf738f89bab0899d0bb35b [file] [log] [blame]
Filip Tehlar229f5fc2022-08-09 14:44:47 +00001admin:
Filip Tehlar229f5fc2022-08-09 14:44:47 +00002 address:
3 socket_address:
4 address: 0.0.0.0
5 port_value: 8081
6static_resources:
7 listeners:
Filip Tehlar229f5fc2022-08-09 14:44:47 +00008 - address:
9 socket_address:
10 protocol: TCP
11 address: 0.0.0.0
Matus Fabian8792e5c2024-08-14 12:38:20 +020012 port_value: {{.ProxyPort}}
Filip Tehlar229f5fc2022-08-09 14:44:47 +000013 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 Villin2a2c6532024-07-23 12:51:14 +020031 typed_config:
32 "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
Matus Fabian8792e5c2024-08-14 12:38:20 +020033 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 Tehlar229f5fc2022-08-09 14:44:47 +000038 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 Fabian8792e5c2024-08-14 12:38:20 +020051 address: {{.ServerAddress}}
52 port_value: {{.ServerPort}}
Filip Tehlar229f5fc2022-08-09 14:44:47 +000053bootstrap_extensions:
54 - name: envoy.extensions.vcl.vcl_socket_interface
55 typed_config:
56 "@type": type.googleapis.com/envoy.extensions.vcl.v3alpha.VclSocketInterface
57default_socket_interface: "envoy.extensions.vcl.vcl_socket_interface"