error cluster-needs
What it means#
needs lists the requirements a node must satisfy to take the role: label("key=value") (a node label), cpu(n), mem(size), disk(size) and gpu(n) (positive amounts known at build time).
Example#
cluster demo {
role gpu { needs label("gpu") } // <- cluster-needs
}error
cluster-needs
How to fix#
Write the label as key=value and use a known resource: needs label("gpu=true"); needs mem(8gb).