Updated Docker cluster tutorial

This commit is contained in:
Yuce Tekol 2018-05-17 05:26:46 +03:00
parent 059810b99f
commit b4aa9013a4
No known key found for this signature in database
GPG key ID: CB59E46D2FB90573

View file

@ -267,8 +267,6 @@ Let's test that the nodes in the cluster connected with each other:
``` request
curl localhost:10101/status
```
That should return something like:
``` response
{"state":"NORMAL","nodes":[{"id":"2e8332d0-1fee-44dd-a359-e0d6ecbcefc1","uri":{"scheme":"http","host":"pilosa1","port":10101},"isCoordinator":true},{"id":"8c0dbcdc-9503-4265-8ad2-ba85a4bb10fa","uri":{"scheme":"http","host":"pilosa2","port":10101},"isCoordinator":false}]}
```
@ -277,8 +275,6 @@ And similarly for the second node:
``` request
curl localhost:10102/status
```
Outputs:
``` response
{"state":"NORMAL","nodes":[{"id":"2e8332d0-1fee-44dd-a359-e0d6ecbcefc1","uri":{"scheme":"http","host":"pilosa1","port":10101},"isCoordinator":true},{"id":"8c0dbcdc-9503-4265-8ad2-ba85a4bb10fa","uri":{"scheme":"http","host":"pilosa2","port":10101},"isCoordinator":false}]}
```