Created
March 7, 2019 14:48
-
-
Save losnir/2f4350f74c677b956b967a9bc1ce9bd5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
job "dummy-batch-job" { | |
datacenters = ["us-east-1"] | |
type = "batch" | |
periodic { | |
cron = "*/1 * * * * *" | |
prohibit_overlap = true | |
} | |
group "monitor" { | |
count = 1 | |
task "monitor" { | |
driver = "docker" | |
config { | |
image = "spaster/alpine-sleep:latest" | |
} | |
resources { | |
cpu = 256 | |
memory = 64 | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment