Add signal handler example job.

This commit is contained in:
Shishir Mahajan 2020-05-21 10:46:33 -07:00
parent f1a882822b
commit 6ca77fda0c

21
example/signal.nomad Normal file
View File

@ -0,0 +1,21 @@
job "signal" {
datacenters = ["dc1"]
group "signal-group" {
task "signal-task" {
driver = "containerd-driver"
config {
image = "docker.io/shm32/signal_handler:1.0"
}
resources {
cpu = 500
memory = 256
network {
mbits = 10
}
}
}
}
}