Skip to content

Comments

[Cluster] Port autoselection 2/2: Port autoselection#312

Merged
vik-rant merged 6 commits intodevfrom
feature/cluster/auto-port-selecting
Dec 17, 2025
Merged

[Cluster] Port autoselection 2/2: Port autoselection#312
vik-rant merged 6 commits intodevfrom
feature/cluster/auto-port-selecting

Conversation

@christopherfish
Copy link
Contributor

After this PR, one can omit the worker_url argument to Cluster.launch_worker() and Node.launch_worker() (the former of which calls the latter). In this case, the Worker will be launched with the same hostname as the Node in question, with a port chosen from a range specified in MINDTRACE_CLUSTER::WORKER_PORTS_RANGE.

The resulting Worker URL is now returned by both methods, along with the Worker ID and name.

@christopherfish christopherfish changed the title [Cluster] Port autoselection 1/2: Port autoselection [Cluster] Port autoselection 2/2: Port autoselection Dec 11, 2025
@christopherfish christopherfish self-assigned this Dec 11, 2025
@christopherfish christopherfish added the mindtrace-cluster Issues raised from cluster module in mindtrace package label Dec 11, 2025
Base automatically changed from feature/cluster/node-worker-database to dev December 16, 2025 17:07
@vik-rant vik-rant merged commit 36b13db into dev Dec 17, 2025
4 checks passed
@vik-rant vik-rant deleted the feature/cluster/auto-port-selecting branch December 17, 2025 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mindtrace-cluster Issues raised from cluster module in mindtrace package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants