mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
Signed-off-by: Future-Outlier <[email protected]> Co-authored-by: Future-Outlier <[email protected]>
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
apiVersion: ray.io/v1
|
|
kind: RayCluster
|
|
metadata:
|
|
name: ray-cluster-with-auth
|
|
spec:
|
|
enableInTreeAutoscaling: true
|
|
authOptions:
|
|
mode: token
|
|
rayVersion: "2.53.0"
|
|
headGroupSpec:
|
|
rayStartParams: {}
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: ray-head
|
|
image: rayproject/ray:2.53.0
|
|
resources:
|
|
limits:
|
|
cpu: "4"
|
|
memory: "8Gi"
|
|
requests:
|
|
cpu: "4"
|
|
memory: "8Gi"
|
|
ports:
|
|
- containerPort: 6379
|
|
name: gcs-server
|
|
- containerPort: 8265
|
|
name: dashboard
|
|
- containerPort: 10001
|
|
name: client
|
|
workerGroupSpecs:
|
|
- replicas: 1
|
|
minReplicas: 1
|
|
maxReplicas: 5
|
|
groupName: workergroup
|
|
rayStartParams: {}
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: ray-worker
|
|
image: rayproject/ray:2.53.0
|
|
resources:
|
|
limits:
|
|
cpu: "4"
|
|
memory: "8Gi"
|
|
requests:
|
|
cpu: "4"
|
|
memory: "8Gi"
|