OxL Reference

error cluster-needs

error Standard: [§12.1]

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#

oxl✓ checked in CI
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).

See also#

OxL 1.0.0-beta · Documentation version 1.0.0-beta© OxwaldLink · generated from the Standard, the std sources and the guides