Skip to content

Commit 708d758

Browse files
[Chore][YuniKorn] Add sample yaml file for Apache YuniKorn (ray-project#2412)
Closes: ray-project#2411 Signed-off-by: Chi-Sheng Liu <[email protected]>
1 parent 090fad0 commit 708d758

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
apiVersion: ray.io/v1
2+
kind: RayCluster
3+
metadata:
4+
name: test-yunikorn-0
5+
labels:
6+
ray.io/gang-scheduling-enabled: "true"
7+
yunikorn.apache.org/app-id: test-yunikorn-0
8+
yunikorn.apache.org/queue: root.test
9+
spec:
10+
rayVersion: "2.34.0"
11+
headGroupSpec:
12+
rayStartParams: {}
13+
template:
14+
spec:
15+
containers:
16+
- name: ray-head
17+
image: rayproject/ray:2.34.0
18+
resources:
19+
limits:
20+
cpu: "1"
21+
memory: "2Gi"
22+
requests:
23+
cpu: "1"
24+
memory: "2Gi"
25+
workerGroupSpecs:
26+
- groupName: worker
27+
rayStartParams: {}
28+
replicas: 2
29+
minReplicas: 2
30+
maxReplicas: 2
31+
template:
32+
spec:
33+
containers:
34+
- name: ray-head
35+
image: rayproject/ray:2.34.0
36+
resources:
37+
limits:
38+
cpu: "1"
39+
memory: "1Gi"
40+
requests:
41+
cpu: "1"
42+
memory: "1Gi"

0 commit comments

Comments
 (0)