forked from ray-project/kuberay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathray-data-image-resize.yaml
More file actions
46 lines (46 loc) · 1.17 KB
/
ray-data-image-resize.yaml
File metadata and controls
46 lines (46 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apiVersion: ray.io/v1
kind: RayJob
metadata:
name: {{.Name}}
labels:
perf-test: ray-data-image-resize
spec:
shutdownAfterJobFinishes: true
entrypoint: python ray_data_image_resize.py
rayClusterSpec:
rayVersion: "2.52.0"
headGroupSpec:
template:
spec:
containers:
- name: ray-head
image: {{.Image}}
ports:
- containerPort: 6379
name: gcs-server
- containerPort: 8265
name: dashboard
- containerPort: 10001
name: client
resources:
limits:
memory: "10Gi"
requests:
cpu: "2"
memory: "10Gi"
workerGroupSpecs:
- replicas: 2
minReplicas: 1
maxReplicas: 5
groupName: worker-group
template:
spec:
containers:
- name: ray-worker
image: {{.Image}}
resources:
limits:
memory: "4Gi"
requests:
cpu: "2"
memory: "4Gi"