Skip to content

Instantly share code, notes, and snippets.

View sathyanarays's full-sized avatar

Sathyanarayanan Saravanamuthu sathyanarays

View GitHub Profile
@sathyanarays
sathyanarays / rayjob.yaml
Created May 17, 2024 11:38
Kuberay Resilient Training Script
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.

Steps to reproduce

Create KIND cluster

kind create cluster

Install KubeRay operator

Make sure you add the helm repo before running the following command.