Open kaspergrubbe opened 4 years ago
If the diffs are confusing to read, here's a zip with the three configuration files: ingress-nomad-files.zip
Worth noting that in addition to the confusing error message and unhelpful docs, we should also fix the http response code to 400 instead of 500. Thanks for the report @kaspergrubbe!
Big +1 on this, and please note that it is not only the upgrade docs, but https://www.nomadproject.io/docs/job-specification/service as a whole that still promotes putting service
inside a task
.
Should job -> group -> task -> service
be fully deprecated?
I thought this deprecation was fixed or decided before the 1.0.0 release, but it seems like it is still here.
Nomad version
0.12.7
/1.0.0.beta
Reproduction steps
Go to https://www.nomadproject.io/docs/upgrade/upgrade-specific and read about
»mbits and Task Network Resource deprecation
:Okay, that means that this old job file:
Needs to be updated like this by moving the network-stanza into the group stanza, easy!
That blows up like this:
It took me a while to understand that the service stanza needed to be movws to the group stanza (it was in the task-stanza before):
Did I miss something obvious or are the upgrade path not very clear? I might not be the only one that stumbled upon this.