Skip to content

Instantly share code, notes, and snippets.

@andrewwatson
Last active August 25, 2016 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save andrewwatson/1ba5fc69ae91e805e065 to your computer and use it in GitHub Desktop.
Save andrewwatson/1ba5fc69ae91e805e065 to your computer and use it in GitHub Desktop.
If every consul node has a service defined like this then any new node can join the cluster by joining consul.service.consul
{
"service": {
"name": "consul",
"tags": ["server"]
}
}
{
"service": {
"name": "consul"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment