ray.util.state.common.NodeState
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'], node_name: str, resources_total: dict, labels: dict, start_time_ms: Optional[int] = None, end_time_ms: Optional[int] = None)[source]#
Bases:
ray.util.state.common.StateSchemaNode State
Below columns can be used for the
--filteroption.node_id
is_head_node
state
node_ip
node_name
Below columns are available only when
getAPI is used,--detailis specified through CLI, ordetail=Trueis given to Python APIs.labels
resources_total
node_id
is_head_node
start_time_ms
state
node_ip
end_time_ms
node_name
- node_id: str#
The id of the node.
- node_ip: str#
The ip address of the node.
- is_head_node: bool#
If this is a head node.
- state: Literal['ALIVE', 'DEAD']#
The state of the node.
ALIVE: The node is alive. DEAD: The node is dead.
- node_name: str#
The name of the node if it is given by the name argument.
- resources_total: dict#
The total resources of the node.
- labels: dict#
The labels of the node.
- start_time_ms: Optional[int] = None#
The time when the node (raylet) starts.