-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnomad.hcl
60 lines (51 loc) · 1.11 KB
/
nomad.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name = "hell-compute"
data_dir = "/opt/cluster-client/var/nomad"
leave_on_interrupt = true
leave_on_terminate = true
addresses {
http = "10.42.1.3"
rpc = "10.42.1.3"
serf = "10.42.1.3"
}
advertise {
http = "10.42.1.3"
rpc = "10.42.1.3"
serf = "10.42.1.3"
}
client {
enabled = true
network_interface = "vmck-acs"
servers = ["10.42.1.1:4647"]
memory_total_mb = 0 # autodetect
gc_max_allocs = 300
meta {
vmck_worker = true
acs_prod = true
volumes = "/opt/volumes"
}
options {
"fingerprint.blacklist" = "env_aws"
"docker.caps.whitelist" = "NET_ADMIN,CHOWN,DAC_OVERRIDE,FSETID,FOWNER,MKNOD,NET_RAW,SETGID,SETUID,SETFCAP,SETPCAP,NET_BIND_SERVICE,SYS_CHROOT,KILL,AUDIT_WRITE"
"docker.privileged.enabled" = "true"
"docker.volumes.enabled" = "true"
}
}
plugin "raw_exec" {
config {
enabled = true
}
}
consul {
address = "10.42.1.3:8500"
}
vault {
enabled = true
address = "http://10.42.1.1:8200"
}
telemetry {
collection_interval = "10s"
disable_hostname = false
prometheus_metrics = true
publish_allocation_metrics = true
publish_node_metrics = true
}