mirror of https://github.com/hashicorp/consul
65 lines
1.7 KiB
Plaintext
65 lines
1.7 KiB
Plaintext
|
{
|
||
|
"nonce": "00000001",
|
||
|
"resources": [
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
||
|
"connectTimeout": "5s",
|
||
|
"loadAssignment": {
|
||
|
"clusterName": "exposed_cluster_9090",
|
||
|
"endpoints": [
|
||
|
{
|
||
|
"lbEndpoints": [
|
||
|
{
|
||
|
"endpoint": {
|
||
|
"address": {
|
||
|
"socketAddress": {
|
||
|
"address": "127.0.0.1",
|
||
|
"portValue": 9090
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"name": "exposed_cluster_9090",
|
||
|
"type": "STATIC",
|
||
|
"typedExtensionProtocolOptions": {
|
||
|
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
|
||
|
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
|
||
|
"explicitHttpConfig": {
|
||
|
"http2ProtocolOptions": {}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
||
|
"connectTimeout": "5s",
|
||
|
"loadAssignment": {
|
||
|
"clusterName": "local_app",
|
||
|
"endpoints": [
|
||
|
{
|
||
|
"lbEndpoints": [
|
||
|
{
|
||
|
"endpoint": {
|
||
|
"address": {
|
||
|
"socketAddress": {
|
||
|
"address": "127.0.0.1",
|
||
|
"portValue": 8080
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"name": "local_app",
|
||
|
"type": "STATIC"
|
||
|
}
|
||
|
],
|
||
|
"typeUrl": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
|
||
|
"versionInfo": "00000001"
|
||
|
}
|