Add signal handler example job.
This commit is contained in:
parent
f1a882822b
commit
6ca77fda0c
21
example/signal.nomad
Normal file
21
example/signal.nomad
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user