diff --git a/ray-operator/config/samples/ray-cluster.yunikorn-scheduler.yaml b/ray-operator/config/samples/ray-cluster.yunikorn-scheduler.yaml new file mode 100644 index 0000000000..8d3a421acf --- /dev/null +++ b/ray-operator/config/samples/ray-cluster.yunikorn-scheduler.yaml @@ -0,0 +1,42 @@ +apiVersion: ray.io/v1 +kind: RayCluster +metadata: + name: test-yunikorn-0 + labels: + ray.io/gang-scheduling-enabled: "true" + yunikorn.apache.org/app-id: test-yunikorn-0 + yunikorn.apache.org/queue: root.test +spec: + rayVersion: "2.34.0" + headGroupSpec: + rayStartParams: {} + template: + spec: + containers: + - name: ray-head + image: rayproject/ray:2.34.0 + resources: + limits: + cpu: "1" + memory: "2Gi" + requests: + cpu: "1" + memory: "2Gi" + workerGroupSpecs: + - groupName: worker + rayStartParams: {} + replicas: 2 + minReplicas: 2 + maxReplicas: 2 + template: + spec: + containers: + - name: ray-head + image: rayproject/ray:2.34.0 + resources: + limits: + cpu: "1" + memory: "1Gi" + requests: + cpu: "1" + memory: "1Gi"