[Draft] Add multi-cluster setup scripts and manifests for local development of FederatedRayCluster#4735
Draft
seanlaii wants to merge 3 commits intoray-project:masterfrom
Draft
[Draft] Add multi-cluster setup scripts and manifests for local development of FederatedRayCluster#4735seanlaii wants to merge 3 commits intoray-project:masterfrom
seanlaii wants to merge 3 commits intoray-project:masterfrom
Conversation
Contributor
Author
|
Result from |
6fdd39e to
52140a2
Compare
…pment Signed-off-by: seanlaii <qazwsx0939059006@gmail.com>
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Why are these changes needed?
This PR adds a local development environment for the upcoming Federated RayCluster feature. It creates 3 interconnected kind clusters using
CiliumClusterMesh, providing the full bidirectional Pod-to-Pod IP connectivity that Ray requires for cross-cluster head-to-worker and worker-to-worker communication.Ray's networking model demands more than just exposing the head's GCS port -- the head must connect back to workers (for task scheduling, placement groups, node draining), and workers must communicate directly with each other (for object transfer via ray.get(), actor calls). Cilium ClusterMesh provides this transparently across kind clusters, handling Ray's dynamic port requirements without per-port configuration.
What's included:
hack/bootstrap-federated-ray-lab.sh-- one-command setup: creates 3 kind clusters, installs Cilium, enables. ClusterMesh, connects all clusters into a full meshhack/smoke-test.sh-- verifies all 6 bidirectional cross-cluster Pod-to-Pod connectivity pathshack/cleanup-federated-ray-lab.sh-- tears down everythingThis environment can be used for developing and testing the
FederatedRayClusterCRD, federation controller, andspec.workerOnlysupport described in the design proposal.Related issue number
Checks