34 lines
604 B
HCL
34 lines
604 B
HCL
log_level = "INFO"
|
|
data_dir = "/tmp/nomad"
|
|
|
|
plugin "containerd-driver" {
|
|
config {
|
|
enabled = true
|
|
containerd_runtime = "io.containerd.runc.v2"
|
|
stats_interval = "5s"
|
|
}
|
|
}
|
|
|
|
server {
|
|
enabled = true
|
|
bootstrap_expect = 1
|
|
default_scheduler_config {
|
|
scheduler_algorithm = "spread"
|
|
memory_oversubscription_enabled = true
|
|
|
|
preemption_config {
|
|
batch_scheduler_enabled = true
|
|
system_scheduler_enabled = true
|
|
service_scheduler_enabled = true
|
|
}
|
|
}
|
|
}
|
|
|
|
client {
|
|
enabled = true
|
|
host_volume "s1" {
|
|
path = "/tmp/host_volume/s1"
|
|
read_only = false
|
|
}
|
|
}
|