-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclient.hcl
40 lines (35 loc) · 812 Bytes
/
client.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
data_dir = "/opt/nomad"
log_level = "DEBUG"
enable_debug = true
bind_addr = "0.0.0.0"
disable_update_check = true
# Ensure agents leave the cluster gracefully on SIGINT/SIGTERM. If an agent
# does not leave gracefully the cluster state needs to be cleaned up via
# https://www.nomadproject.io/docs/commands/server-force-leave.html before the
# agent can rejoin.
leave_on_interrupt = true
leave_on_terminate = true
datacenter = "default"
addresses {
http = "127.0.0.1"
}
advertise {
http = "127.0.0.1:4646"
}
client {
enabled = true
servers = [
"nomad-server-1",
"nomad-server-2",
"nomad-server-3",
]
node_class = "linux-64bit"
options = {
"driver.raw_exec.enable" = "1"
}
}
tls {
http = false
rpc = false
verify_server_hostname = false
}