Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VirtualCluster] vcluster cli command support minimal install #467

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
200 changes: 0 additions & 200 deletions python/ray/dashboard/modules/virtual_cluster/cli.py

This file was deleted.

4 changes: 2 additions & 2 deletions python/ray/dashboard/state_aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def transform(reply) -> ListApiResponse:
for id, entry in entries.items():
for node_id in cluster_nodes[id]:
node = all_nodes[node_id]
if not node["is_dead"]:
if not node["is_dead"] and node["template_id"] != "":
entry["replica_sets"][node["template_id"]] = (
entry["replica_sets"].get(node["template_id"], 0) + 1
)
Expand All @@ -533,7 +533,7 @@ def collect_all_sub_nodes(virtual_cluster_id):
for node_id, node in entry["visible_node_instances"].items():
if node_id not in divided_nodes:
undivided_nodes[node_id] = node
if not node["is_dead"]:
if not node["is_dead"] and node["template_id"] != "":
entry["undivided_replica_sets"][node["template_id"]] = (
entry["undivided_replica_sets"].get(
node["template_id"], 0
Expand Down
Loading