[docs] Sidecar Registration (#5998)
* missing service option * fixing the second example
This commit is contained in:
parent
8c7576298c
commit
703981eea4
|
@ -30,9 +30,11 @@ To register a service instance with a sidecar, all that's needed is:
|
|||
|
||||
```json
|
||||
{
|
||||
"service": {
|
||||
"name": "web",
|
||||
"port": 8080,
|
||||
"connect": { "sidecar_service": {} }
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -44,8 +46,10 @@ definitions:
|
|||
|
||||
```json
|
||||
{
|
||||
"service": {
|
||||
"name": "web",
|
||||
"port": 8080,
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "web-sidecar-proxy",
|
||||
|
|
Loading…
Reference in New Issue