mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-11-05 06:57:55 +08:00
Deploying to gh-pages from @ eunomia-bpf/bpf-developer-tutorial@6be4e577f6 🚀
This commit is contained in:
3
29-sockops/envoy/Dockerfile
Normal file
3
29-sockops/envoy/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM envoyproxy/envoy:latest
|
||||
COPY envoy.yaml /etc/envoy/envoy.yaml
|
||||
EXPOSE 9901
|
||||
30
29-sockops/envoy/envoy.yaml
Normal file
30
29-sockops/envoy/envoy.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
admin:
|
||||
access_log_path: /tmp/admin_access.log
|
||||
address:
|
||||
socket_address:
|
||||
protocol: TCP
|
||||
address: 0.0.0.0
|
||||
port_value: 9901
|
||||
static_resources:
|
||||
listeners:
|
||||
- name: iperf3-listener
|
||||
address:
|
||||
socket_address:
|
||||
protocol: TCP
|
||||
address: 0.0.0.0
|
||||
port_value: 10000
|
||||
filter_chains:
|
||||
- filters:
|
||||
- name: envoy.tcp_proxy
|
||||
config:
|
||||
stat_prefix: iperf3-listener
|
||||
cluster: iperf3_server
|
||||
clusters:
|
||||
- name: iperf3_server
|
||||
connect_timeout: 1.0s
|
||||
type: static
|
||||
lb_policy: ROUND_ROBIN
|
||||
hosts:
|
||||
- socket_address:
|
||||
address: 127.0.0.1
|
||||
port_value: 5201
|
||||
Reference in New Issue
Block a user