Skip to main content

needs_attached_hardware

Function needs_attached_hardware 

Source
pub fn needs_attached_hardware(spec: &WorkloadSpec) -> bool
Expand description

Whether spec needs something attached to (or local to) a particular node: any requirement in [HARDWARE_NAMESPACES]. Such a workload’s data source is tied to its node, so moving it is not a failover; it is held and alerted instead. An allow-list: a new namespace never pins by accident.