Module nodes_api

Source

Enums§

EvaluateNodeError
struct for typed errors of method evaluate_node
GetAllocationsForNodeError
struct for typed errors of method get_allocations_for_node
GetNodeError
struct for typed errors of method get_node
GetNodesError
struct for typed errors of method get_nodes
SearchError
struct for typed errors of method search
UpdateDrainModeForNodeError
struct for typed errors of method update_drain_mode_for_node
UpdateNodeEligibilityError
struct for typed errors of method update_node_eligibility

Functions§

evaluate_node
get_allocations_for_node
This can be used to determine what allocations have been scheduled on the node, their current status, and the values of dynamically assigned resources, like ports
get_node
get_nodes
search
When using Nomad Enterprise, the allowed contexts include quotas and namespaces. Additionally, a prefix can be searched for within every context
update_drain_mode_for_node
When draining is enabled, no further allocations will be assigned to this node, and existing allocations will be migrated to new nodes
update_node_eligibility