website: change consul and nomad start up to reflect changes
This commit is contained in:
parent
1206c895f6
commit
c6064c663a
|
@ -44,19 +44,17 @@ handles mTLS communication to the Redis container.
|
||||||
|
|
||||||
### Consul
|
### Consul
|
||||||
|
|
||||||
Connect requires Consul 1.6 (TODO Download link). Consul must advertise on a routable
|
Connect integration with Nomad requires Consul 1.6 (TODO Download link). The
|
||||||
address. The following steps show how to start a Consul dev agent configured for Connect.
|
Consul agent can be ran in dev mode with the following command:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ go get -u github.com/hashicorp/go-sockaddr/cmd/sockaddr
|
$ consul agent -dev
|
||||||
$ export DEFAULT_IP=$(sockaddr eval GetAllInterfaces | sort "default" | exclude "type" "IPv6" | limit 1 | attr "address")
|
|
||||||
$ consul agent -dev -bind 0.0.0.0 -client 192.168.86.27 -advertise 192.168.86.27
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Nomad
|
### Nomad
|
||||||
|
|
||||||
Nomad must also schedule onto a routable interface. The following steps show how to start
|
Nomad must schedule onto a routable interface in order for the proxies to connect
|
||||||
a Nomad dev agent configured for Connect.
|
to each other. The following steps show how to start a Nomad dev agent configured for Connect.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ go get -u github.com/hashicorp/go-sockaddr/cmd/sockaddr
|
$ go get -u github.com/hashicorp/go-sockaddr/cmd/sockaddr
|
||||||
|
|
Loading…
Reference in a new issue