kind create cluster
Make sure you add the helm repo before running the following command.
apiVersion: ray.io/v1 | |
kind: RayJob | |
metadata: | |
name: rayjob-sample | |
spec: | |
#submitterConfig: | |
# backoffLimit: 20 | |
# submissionMode specifies how RayJob submits the Ray job to the RayCluster. | |
# The default value is "K8sJobMode", meaning RayJob will submit the Ray job via a submitter Kubernetes Job. | |
# The alternative value is "HTTPMode", indicating that KubeRay will submit the Ray job by sending an HTTP request to the RayCluster. |