Skip to content

[Feature][history server] Support ray auth token mode for live cluster proxy #4451

@win5923

Description

@win5923

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Ray supports token authentication with KubeRay. When enabled, all requests to the Ray Dashboard must include an x-ray-authorization: Bearer <token> header.

func (r *RayDashboardClient) setAuthHeader(req *http.Request) {
if r.authToken != "" {
req.Header.Set("x-ray-authorization", fmt.Sprintf("Bearer %s", r.authToken))
}
}

It would be helpful for the History Server to support this authentication mode when proxying requests to live Ray clusters.

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions