Hello,
according to docs, during system job update the jobs should only be affected by stagger
and max_parallel
parameters from withing the update stanza.
I think they are not even affected by the stagger parameter.
I took the hello world nomad job and converted it into system job, with stagger 5m.
Then I changed the args in the config, to trigger update.
All allocations were updated at once.
Am I missing something?
Code to reproduce
job "docs" {
datacenters = ["dc1"]
type = "system"
update {
max_parallel = 1
stagger = "5m"
}
group "example" {
task "server" {
driver = "docker"
config {
image = "hashicorp/http-echo"
args = [
"-listen",
":5678",
"-text",
"hello world",
]
}
}
}
}