Skip to content

Commit

Permalink
docs: try to make grpc explanation less confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed May 4, 2018
1 parent e8ad712 commit 4197bc8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions website/source/docs/job-specification/service.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,17 +376,16 @@ service {
port = "rpc"
interval = "5s"
timeout = "2s"
grpc_service = "grpc.health.v1.Health"
grpc_service = "example.Service"
grpc_use_tls = true
tls_skip_verify = true
}
}
```

This check would translate to having a Consul check registration with the
[GRPC][consul_grpc] parameter similar to `10.0.3.1:4567/grpc.health.v1.Health`.
Assuming the service's address is `10.0.3.1` and port is `4567`. See [Using
Driver Address Mode](#using-driver-address-mode) for details on address
In this example Consul would health check the `example.Service` service on the
`rpc` port defined in the task's [network resources][network] stanza. See
[Using Driver Address Mode](#using-driver-address-mode) for details on address
selection.

### Using Driver Address Mode
Expand Down

0 comments on commit 4197bc8

Please sign in to comment.