nomad-driver-containerd/example/entrypoint.nomad
Shishir Mahajan 42fc67cc80 Update versions, run nomad in non-dev mode and fix tests.
Signed-off-by: Shishir Mahajan <smahajan@roblox.com>
2021-09-02 16:39:33 -07:00

21 lines
412 B
HCL

job "entrypoint" {
datacenters = ["dc1"]
group "entrypoint-group" {
task "entrypoint-task" {
driver = "containerd-driver"
config {
image = "ubuntu:16.04"
entrypoint = ["/bin/bash"]
args = ["-c", "for i in {1..100}; do echo container1 container2; sleep 1s; done"]
}
resources {
cpu = 500
memory = 256
}
}
}
}