Skip to content

Commit 39fcbe8

Browse files
committed
Set node with unexpected node-health-status label value to be unscheduable
1 parent 4dcf4dd commit 39fcbe8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hyperpod_cli/commands/cluster.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ def _aggregate_nodes_info(
292292
nodes_summary[instance_type]["schedulable"] += 1
293293
else:
294294
logger.error(f"Unexpected node health status label value {health_status}, set node {node_name} as Unschedulable.")
295+
nodes_summary[instance_type]["unschedulable"] += 1
295296
continue
296297

297298
# Calculate accelerator devices available

0 commit comments

Comments
 (0)