You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ray-operator/config/samples/ray-cluster.sample.yaml
+23-9Lines changed: 23 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -5,19 +5,12 @@
5
5
apiVersion: ray.io/v1
6
6
kind: RayCluster
7
7
metadata:
8
-
labels:
9
-
controller-tools.k8s.io: "1.0"
10
-
# A unique identifier for the head node and workers of this cluster.
11
-
name: raycluster-mini
8
+
name: raycluster-sample
12
9
spec:
13
10
rayVersion: '2.9.0'# should match the Ray version in the image of the containers
14
11
# Ray head pod template
15
12
headGroupSpec:
16
-
# The `rayStartParams` are used to configure the `ray start` command.
17
-
# See https://github.com/ray-project/kuberay/blob/master/docs/guidance/rayStartParams.md for the default settings of `rayStartParams` in KubeRay.
18
-
# See https://docs.ray.io/en/latest/cluster/cli.html#ray-start for all available options in `rayStartParams`.
19
-
rayStartParams:
20
-
dashboard-host: '0.0.0.0'
13
+
rayStartParams: {}
21
14
#pod template
22
15
template:
23
16
spec:
@@ -38,3 +31,24 @@ spec:
38
31
name: dashboard
39
32
- containerPort: 10001
40
33
name: client
34
+
workerGroupSpecs:
35
+
# the pod replicas in this group typed worker
36
+
- replicas: 1
37
+
minReplicas: 1
38
+
maxReplicas: 5
39
+
# logical group name, for this called small-group, also can be functional
40
+
groupName: small-group
41
+
rayStartParams: {}
42
+
#pod template
43
+
template:
44
+
spec:
45
+
containers:
46
+
- name: ray-worker # must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc'
0 commit comments