I currently have this metadata in my clients
A row can have multiple columns and there is a machine on each row-col
So my meta data looks like this
meta
{
row = "1"
col = "3"
id = "12"
}
What I would like to do is spread this job over the same row (nomad could choose any row but all the job instances should run on that row) but different columns
so I am trying to do this
spread
{
attribute = "${meta.col}"
weight = 100
}
spread
{
attribute = "${meta.row}"
weight = 0
}
However specifying a weight of 0 is not allowed.
Any suggestions on how I can accomplish this ?