Skip to content

[Feature] RayJob use HTTP Mode to submit and create a K8s job to tail log #3927

@Future-Outlier

Description

@Future-Outlier

Search before asking

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

Description

Users don’t want to incur the costs for the K8s Job because the job submitter pod needs to submit jobs and tail logs for a long time. We can use HTTP mode to submit the RayJob and create a K8s Job to tail logs when the RayJob is in a terminal state.

(For the image in K8s Job, please use the same image as the Ray head by default, but also allow users to specify their own image and entrypoint for this purpose.)

Use case

RayJob.
https://docs.ray.io/en/latest/cluster/kubernetes/getting-started/rayjob-quick-start.html#step-3-install-a-rayjob

Related issues

#3907

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions