All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s
19 lines
294 B
HCL
19 lines
294 B
HCL
job "disk-check" {
|
|
datacenters = ["dc1"]
|
|
type = "batch"
|
|
|
|
group "check" {
|
|
count = 6 # Check all nodes
|
|
constraint {
|
|
distinct_hosts = true
|
|
}
|
|
task "df" {
|
|
driver = "raw_exec"
|
|
config {
|
|
command = "df"
|
|
args = ["-h"]
|
|
}
|
|
}
|
|
}
|
|
}
|