Skip to content

Instantly share code, notes, and snippets.

@teeler
Last active February 14, 2019 05:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teeler/ea22572af3d132adcdb3ac0d8d62b124 to your computer and use it in GitHub Desktop.
Save teeler/ea22572af3d132adcdb3ac0d8d62b124 to your computer and use it in GitHub Desktop.
datacenter = "dc1"
data_dir = "/etc/nomad.d"
client {
enabled = true
server_join {
retry_join = [ "provider=gce tag_value=h3" ]
}
}
data_dir = "/etc/nomad.d"
server {
enabled = true
bootstrap_expect = 3
server_join {
retry_join = [ "provider=gce tag_value=h3" ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment