File tree 2 files changed +59
-0
lines changed
k8s/apps/app6/envoy-test3
2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+ services :
3
+ envoy :
4
+ container_name : envoy
5
+ hostname : envoy
6
+ image : envoyproxy/envoy:v1.31-latest
7
+ ports :
8
+ - " 9901:9901"
9
+ - " 9000:9000"
10
+ volumes :
11
+ - ./envoy.yaml:/etc/envoy/envoy.yaml
12
+
13
+ clickhouse :
14
+ container_name : clickhouse
15
+ hostname : clickhouse
16
+ image : clickhouse/clickhouse-server:latest
17
+ restart : always
Original file line number Diff line number Diff line change
1
+ admin :
2
+ access_log_path : /dev/null
3
+ address :
4
+ socket_address :
5
+ address : 0.0.0.0
6
+ port_value : 9901
7
+
8
+ static_resources :
9
+ listeners :
10
+ - name : test_listener
11
+ address :
12
+ socket_address :
13
+ address : 0.0.0.0
14
+ port_value : 9000
15
+ filter_chains :
16
+ - filters :
17
+ - name : envoy.filters.network.tcp_proxy
18
+ typed_config :
19
+ " @type " : type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
20
+ stat_prefix : tcp
21
+ cluster : test_cluster
22
+ access_log :
23
+ - name : envoy.file_access_log
24
+ typed_config :
25
+ " @type " : " type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog"
26
+ path : /dev/stdout
27
+
28
+ clusters :
29
+ - name : test_cluster
30
+ connect_timeout : 30s
31
+ type : LOGICAL_DNS
32
+ dns_lookup_family : V4_ONLY
33
+ load_assignment :
34
+ cluster_name : test_cluster
35
+ endpoints :
36
+ - lb_endpoints :
37
+ - endpoint :
38
+ address :
39
+ socket_address :
40
+ address : clickhouse
41
+ port_value : 9000
42
+
You can’t perform that action at this time.
0 commit comments