Merge pull request #12592 from krastin/krastin/docs/sidecarservice-typo

docs: clean-up sidecar service expanded definition
This commit is contained in:
Krastin Krastev 2022-07-21 10:21:48 +02:00 committed by GitHub
commit 1baf4d13d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 22 deletions

View File

@ -48,32 +48,34 @@ definitions:
```json
{
"service": {
"name": "web",
"port": 8080,
}
}
{
"name": "web-sidecar-proxy",
"port": 20000,
"kind": "connect-proxy",
"checks": [
"services": [
{
"Name": "Connect Sidecar Listening",
"TCP": "127.0.0.1:20000",
"Interval": "10s"
"name": "web",
"port": 8080
},
{
"name": "Connect Sidecar Aliasing web",
"alias_service": "web"
"name": "web-sidecar-proxy",
"port": 20000,
"kind": "connect-proxy",
"checks": [
{
"Name": "Connect Sidecar Listening",
"TCP": "127.0.0.1:20000",
"Interval": "10s"
},
{
"name": "Connect Sidecar Aliasing web",
"alias_service": "web"
}
],
"proxy": {
"destination_service_name": "web",
"destination_service_id": "web",
"local_service_address": "127.0.0.1",
"local_service_port": 8080
}
}
],
"proxy": {
"destination_service_name": "web",
"destination_service_id": "web",
"local_service_address": "127.0.0.1",
"local_service_port": 8080,
}
]
}
```