ray.util.state.common.NodeState#
- class ray.util.state.common.NodeState(node_id: str, node_ip: str, is_head_node: bool, state: Literal['ALIVE', 'DEAD'], state_message: str | None, node_name: str, resources_total: dict, labels: dict, start_time_ms: int | None = None, end_time_ms: int | None = None)[source]#
Bases:
StateSchema
Node State
Below columns can be used for the
--filter
option.is_head_node
node_ip
node_name
node_id
state
Below columns are available only when
get
API is used,--detail
is specified through CLI, ordetail=True
is given to Python APIs.start_time_ms
state_message
is_head_node
resources_total
labels
node_ip
node_name
end_time_ms
node_id
state
- state: Literal['ALIVE', 'DEAD']#
The state of the node.
ALIVE: The node is alive. DEAD: The node is dead.