60 lines
1.4 KiB
Plaintext
60 lines
1.4 KiB
Plaintext
|
{
|
||
|
"versionInfo": "00000001",
|
||
|
"resources": [
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.api.v2.Cluster",
|
||
|
"name": "exposed_cluster_9090",
|
||
|
"type": "STATIC",
|
||
|
"connectTimeout": "5s",
|
||
|
"loadAssignment": {
|
||
|
"clusterName": "exposed_cluster_9090",
|
||
|
"endpoints": [
|
||
|
{
|
||
|
"lbEndpoints": [
|
||
|
{
|
||
|
"endpoint": {
|
||
|
"address": {
|
||
|
"socketAddress": {
|
||
|
"address": "127.0.0.1",
|
||
|
"portValue": 9090
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"http2ProtocolOptions": {
|
||
|
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.api.v2.Cluster",
|
||
|
"name": "local_app",
|
||
|
"type": "STATIC",
|
||
|
"connectTimeout": "5s",
|
||
|
"loadAssignment": {
|
||
|
"clusterName": "local_app",
|
||
|
"endpoints": [
|
||
|
{
|
||
|
"lbEndpoints": [
|
||
|
{
|
||
|
"endpoint": {
|
||
|
"address": {
|
||
|
"socketAddress": {
|
||
|
"address": "127.0.0.1",
|
||
|
"portValue": 8080
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"typeUrl": "type.googleapis.com/envoy.api.v2.Cluster",
|
||
|
"nonce": "00000001"
|
||
|
}
|