Shishir Mahajan 4f47dcedd5 Add test for memory oversubscription.
Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>
2021-05-19 12:33:00 -07:00

23 lines
379 B
HCL

job "redis" {
datacenters = ["dc1"]
group "redis-group" {
task "redis-task" {
driver = "containerd-driver"
config {
image = "redis:alpine"
hostname = "foobar"
seccomp = true
cwd = "/home/redis"
}
resources {
cpu = 500
memory = 256
memory_max = 512
}
}
}
}