forked from ray-project/kuberay
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathraycluster.yaml
More file actions
48 lines (48 loc) · 1.03 KB
/
raycluster.yaml
File metadata and controls
48 lines (48 loc) · 1.03 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
47
48
apiVersion: ray.io/v1
kind: RayCluster
metadata:
name: {{.Name}}
labels:
perf-test: ray-cluster
spec:
rayVersion: "2.52.0"
headGroupSpec:
serviceType: ClusterIP
rayStartParams:
dashboard-host: "0.0.0.0"
disable-usage-stats: "true"
template:
spec:
containers:
- name: ray-head
image: {{.Image}}
ports:
- containerPort: 6379
name: gcs
- containerPort: 8265
name: dashboard
- containerPort: 10001
name: client
resources:
limits:
cpu: "1"
requests:
cpu: "10m"
volumes:
- name: ray-logs
emptyDir: {}
workerGroupSpecs:
- replicas: {{.Replicas}}
minReplicas: 1
maxReplicas: 10
groupName: small-group
template:
spec:
containers:
- name: ray-worker
image: {{.Image}}
resources:
limits:
cpu: "1"
requests:
cpu: "10m"