Skip to content

Commit

Permalink
Add a debug log to show each node with labels (#25)
Browse files Browse the repository at this point in the history
* Fix help message for auto-resume and max-retry options

* Add a debug log to show each node with labels

---------

Co-authored-by: Song Jiang <sonjiang@amazon.com>
  • Loading branch information
jswudi and Song Jiang authored Sep 12, 2024
1 parent a7bd475 commit b0f3555
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hyperpod_cli/commands/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ def _aggregate_nodes_info(
for node in nodes:
labels = node.metadata.labels
node_name = node.metadata.name
logger.debug(f"node_name is {node_name} and labels are {labels}")
instance_type = labels[INSTANCE_TYPE_LABEL]
nodes_summary[instance_type]["total_nodes"] += 1
if DEEP_HEALTH_CHECK_STATUS_LABEL in labels:
Expand Down

0 comments on commit b0f3555

Please sign in to comment.