From 6ca77fda0ccbb2352c9fb4b13839db30ab6005a8 Mon Sep 17 00:00:00 2001 From: Shishir Mahajan Date: Thu, 21 May 2020 10:46:33 -0700 Subject: [PATCH] Add signal handler example job. --- example/signal.nomad | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 example/signal.nomad diff --git a/example/signal.nomad b/example/signal.nomad new file mode 100644 index 0000000..cf2742c --- /dev/null +++ b/example/signal.nomad @@ -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 + } + } + } + } +}