mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
* remove cpu limit for rayservice e2e test Signed-off-by: AndySung320 <[email protected]> * trigger ci Signed-off-by: AndySung320 <[email protected]> * Add PearStand deployment config with num_cpus Signed-off-by: AndySung320 <[email protected]> * remove cpu limit in deletiondelay yaml Signed-off-by: AndySung320 <[email protected]> * add back cpu limit for worker spec Signed-off-by: AndySung320 <[email protected]> --------- Signed-off-by: AndySung320 <[email protected]>
63 lines
1.7 KiB
YAML
63 lines
1.7 KiB
YAML
apiVersion: ray.io/v1
|
|
kind: RayService
|
|
metadata:
|
|
name: test-rayservice
|
|
spec:
|
|
serveConfigV2: |
|
|
proxy_location: EveryNode
|
|
applications:
|
|
- name: no_ops
|
|
route_prefix: /
|
|
import_path: microbenchmarks.no_ops:app_builder
|
|
args:
|
|
num_forwards: 0
|
|
runtime_env:
|
|
working_dir: https://github.com/ray-project/serve_workloads/archive/a9f184f4d9ddb7f9a578502ae106470f87a702ef.zip
|
|
deployments:
|
|
- name: NoOp
|
|
num_replicas: 2
|
|
max_replicas_per_node: 1
|
|
ray_actor_options:
|
|
num_cpus: 1
|
|
rayClusterConfig:
|
|
rayVersion: "2.52.0"
|
|
headGroupSpec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: ray-head
|
|
image: rayproject/ray:2.52.0
|
|
resources:
|
|
requests:
|
|
cpu: "300m"
|
|
memory: "1G"
|
|
limits:
|
|
memory: "2G"
|
|
ports:
|
|
- containerPort: 6379
|
|
name: gcs-server
|
|
- containerPort: 8265
|
|
name: dashboard
|
|
- containerPort: 10001
|
|
name: client
|
|
- containerPort: 8000
|
|
name: serve
|
|
workerGroupSpecs:
|
|
- replicas: 1
|
|
minReplicas: 1
|
|
maxReplicas: 1
|
|
groupName: small-group
|
|
rayStartParams:
|
|
num-cpus: "1"
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: ray-worker
|
|
image: rayproject/ray:2.52.0
|
|
resources:
|
|
requests:
|
|
cpu: "300m"
|
|
memory: "1G"
|
|
limits:
|
|
memory: "1G"
|