You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar feature requirement.
Description
Currently, enabling RayCluster GCS FT is cumbersome given that users need to update many settings that are scattered around in their CR yaml files. The new GcsFaultToleranceOptions field in RayCluster CRD has been merged (#2715). The field serves as a new central place containing all configs for enabling GCS FT. Now we need to implement the actual logic to enable the feature according to the new field.
Our goal is when the new field is set, the KubeRay should configure the RayCluster with GCS FT enabled. That includes setting corresponding Pods annotations, environment variables, and RayStartParams. See the doc for more details.
We plan to implement it in 2 separate PRs:
Set RayFTEnabledAnnotationKey and RayExternalStorageNSAnnotationKey pod annotations according to the GcsFaultToleranceOptions.
Set the RAY_REDIS_ADDRESS environment variable to Head Pod according to the GcsFaultToleranceOptions.
Set the REDIS_PASSWORD environment variable and the corresponding RayStartParam to Head Pod according to the GcsFaultToleranceOptions.
Set the REDIS_USERNAME environment variable and the corresponding RayStartParam to Head Pod according to the GcsFaultToleranceOptions as well as adding the support of the REDIS_USERNAME to the usage of the cleanup_redis_storage.
This issue targets the first part: Setting pod annotations.
Search before asking
Description
Currently, enabling RayCluster GCS FT is cumbersome given that users need to update many settings that are scattered around in their CR yaml files. The new
GcsFaultToleranceOptions
field in RayCluster CRD has been merged (#2715). The field serves as a new central place containing all configs for enabling GCS FT. Now we need to implement the actual logic to enable the feature according to the new field.Our goal is when the new field is set, the KubeRay should configure the RayCluster with GCS FT enabled. That includes setting corresponding Pods annotations, environment variables, and RayStartParams. See the doc for more details.
We plan to implement it in 2 separate PRs:
RayFTEnabledAnnotationKey
andRayExternalStorageNSAnnotationKey
pod annotations according to theGcsFaultToleranceOptions
.RAY_REDIS_ADDRESS
environment variable to Head Pod according to theGcsFaultToleranceOptions
.REDIS_PASSWORD
environment variable and the correspondingRayStartParam
to Head Pod according to theGcsFaultToleranceOptions
.REDIS_USERNAME
environment variable and the correspondingRayStartParam
to Head Pod according to theGcsFaultToleranceOptions
as well as adding the support of theREDIS_USERNAME
to the usage of thecleanup_redis_storage
.This issue targets the first part: Setting pod annotations.
Related issues
#2695
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: