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

Setup ray head fault tolerance with Redis #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

imreddy13
Copy link
Collaborator

Add fault tolerance to the ray cluster via Redis so the GCS state is persisted.

The ray cluster has no fault tolerance by default i.e. if the head node dies, the application is disrupted because all the worker nodes restart. Additionally, job logs stored in the ray dashboard are lost.

The following changes enable fault tolerance:

  1. Deploy a Redis service in the GKE cluster.
  2. Modify the kuberay config with annotations that enable fault tolerance and set environment variable RAY_REDIS_ADDRESS to the Redis service.

This can be tested by creating a ray cluster with fault tolerance enabled, then force deleting the head node pod and verifying the worker pod does not restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant