-
Notifications
You must be signed in to change notification settings - Fork 173
/
config_oss.json
86 lines (86 loc) · 2.18 KB
/
config_oss.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"servers": [
{
"default_log_path": "stdout",
"default_log_level": "DEBUG",
"listeners": [
{
"name": "grpc",
"address": "127.0.0.1:34904",
"bind_port": true,
"filter_chains": [
{
"filters": [
{
"type": "grpc",
"config": {
"server_name": "runtime",
"grpc_config": {
"oss": {
"oss_demo": {
"type": "aws.oss",
"metadata":
{
"basic_config":{
"region": "your-oss-resource-region",
"endpoint": "your-oss-resource-endpoint",
"accessKeyID": "your-oss-resource-accessKeyID",
"accessKeySecret": "your-oss-resource-accessKeySecret"
}
}
}
}
}
}
}
]
}
]
}
]
}
],
"dynamic_resources": {
"lds_config": {
"ads": {},
"initial_fetch_timeout": "0s",
"resource_api_version": "V3"
},
"cds_config": {
"ads": {},
"initial_fetch_timeout": "0s",
"resource_api_version": "V3"
},
"ads_config": {
"api_type": "GRPC",
"set_node_on_first_message_only": true,
"transport_api_version": "V3",
"grpc_services": [{
"envoy_grpc": {
"cluster_name": "xds-grpc"
}
}]
}
},
"static_resources": {
"clusters": [{
"name": "xds-grpc",
"type": "STATIC",
"connect_timeout": "1s",
"lb_policy": "ROUND_ROBIN",
"load_assignment": {
"cluster_name": "xds-grpc",
"endpoints": [{
"lb_endpoints": [{
"endpoint": {
"address": {
"socket_address": {"address": "127.0.0.1", "port_value": 30681}
}
}
}
]
}]
}
}]
}
}