Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release][7/N] Update RayService YAMLs #2956

Merged
merged 2 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ray-operator/config/samples/ray-cluster.persistent-redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
# ray.io/external-storage-namespace: "my-raycluster-storage"
name: raycluster-external-redis
spec:
rayVersion: '2.9.0'
rayVersion: '2.41.0'
headGroupSpec:
# The `rayStartParams` are used to configure the `ray start` command.
# See https://github.com/ray-project/kuberay/blob/master/docs/guidance/rayStartParams.md for the default settings of `rayStartParams` in KubeRay.
Expand All @@ -26,7 +26,7 @@ spec:
spec:
containers:
- name: ray-head
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: "1"
Expand Down Expand Up @@ -73,7 +73,7 @@ spec:
spec:
containers:
- name: ray-worker
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
volumeMounts:
- mountPath: /tmp/ray
name: ray-logs
Expand Down
9 changes: 4 additions & 5 deletions ray-operator/config/samples/ray-service.autoscaler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
runtime_env:
working_dir: "https://github.com/ray-project/test_dag/archive/59c994656f55ff8e0e642efe63f380debc831931.zip"
rayClusterConfig:
rayVersion: '2.9.0' # should match the Ray version in the image of the containers
rayVersion: '2.41.0' # should match the Ray version in the image of the containers
## raycluster autoscaling config
enableInTreeAutoscaling: true
autoscalerOptions:
Expand All @@ -56,14 +56,13 @@ spec:
# The `rayStartParams` are used to configure the `ray start` command.
# See https://github.com/ray-project/kuberay/blob/master/docs/guidance/rayStartParams.md for the default settings of `rayStartParams` in KubeRay.
# See https://docs.ray.io/en/latest/cluster/cli.html#ray-start for all available options in `rayStartParams`.
rayStartParams:
dashboard-host: '0.0.0.0'
rayStartParams: {}
#pod template
template:
spec:
containers:
- name: ray-head
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: 2
Expand Down Expand Up @@ -96,7 +95,7 @@ spec:
spec:
containers:
- 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'
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: "1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
ray_actor_options:
num_cpus: 0.1
rayClusterConfig:
rayVersion: '2.9.0' # should match the Ray version in the image of the containers
rayVersion: '2.41.0' # should match the Ray version in the image of the containers
######################headGroupSpecs#################################
# Ray head pod template.
headGroupSpec:
Expand All @@ -62,7 +62,7 @@ spec:
spec:
containers:
- name: ray-head
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: 2
Expand Down Expand Up @@ -95,7 +95,7 @@ spec:
spec:
containers:
- 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'
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: "1"
Expand Down
6 changes: 3 additions & 3 deletions ray-operator/config/samples/ray-service.different-port.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
http_options:
port: 9000
rayClusterConfig:
rayVersion: '2.9.0' # should match the Ray version in the image of the containers
rayVersion: '2.41.0' # should match the Ray version in the image of the containers
######################headGroupSpecs#################################
# Ray head pod template.
headGroupSpec:
Expand All @@ -52,7 +52,7 @@ spec:
spec:
containers:
- name: ray-head
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: 2
Expand Down Expand Up @@ -82,7 +82,7 @@ spec:
spec:
containers:
- 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'
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: "1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
args:
num_forwards: 0
runtime_env:
working_dir: https://github.com/ray-project/serve_workloads/archive/a2e2405f3117f1b4134b6924b5f44c4ff0710c00.zip
working_dir: https://github.com/ray-project/serve_workloads/archive/a9f184f4d9ddb7f9a578502ae106470f87a702ef.zip
deployments:
- name: NoOp
autoscaling_config:
Expand All @@ -27,7 +27,7 @@ spec:
ray_actor_options:
num_cpus: 1
rayClusterConfig:
rayVersion: '2.9.0' # should match the Ray version in the image of the containers
rayVersion: '2.41.0' # should match the Ray version in the image of the containers
enableInTreeAutoscaling: true
autoscalerOptions:
idleTimeoutSeconds: 1
Expand All @@ -39,13 +39,12 @@ spec:
# See https://docs.ray.io/en/latest/cluster/cli.html#ray-start for all available options in `rayStartParams`.
rayStartParams:
num-cpus: "0"
dashboard-host: '0.0.0.0'
#pod template
template:
spec:
containers:
- name: ray-head
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: 2
Expand Down Expand Up @@ -77,7 +76,7 @@ spec:
spec:
containers:
- 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'
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: 1
Expand All @@ -89,19 +88,16 @@ spec:
apiVersion: ray.io/v1
kind: RayCluster
metadata:
labels:
controller-tools.k8s.io: "1.0"
name: locust-cluster
spec:
rayVersion: '2.9.0'
rayVersion: '2.41.0'
headGroupSpec:
rayStartParams:
dashboard-host: '0.0.0.0'
rayStartParams: {}
template:
spec:
containers:
- name: ray-head
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
ray_actor_options:
num_cpus: 0.1
rayClusterConfig:
rayVersion: '2.9.0' # should match the Ray version in the image of the containers
rayVersion: '2.41.0' # should match the Ray version in the image of the containers
######################headGroupSpecs#################################
# Ray head pod template.
headGroupSpec:
Expand All @@ -53,7 +53,7 @@ spec:
spec:
containers:
- name: ray-head
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
env:
- name: RAY_REDIS_ADDRESS
value: redis:6379
Expand Down Expand Up @@ -95,7 +95,7 @@ spec:
spec:
containers:
- 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'
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: 1
Expand Down Expand Up @@ -135,7 +135,7 @@ metadata:
spec:
containers:
- name: ray-container
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
command: ["/bin/bash", "-c", "--"]
args: ["while true; do sleep 30; done;"]
volumeMounts:
Expand Down
9 changes: 4 additions & 5 deletions ray-operator/config/samples/ray-service.sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,20 @@ spec:
- name: Router
num_replicas: 1
rayClusterConfig:
rayVersion: '2.9.0' # should match the Ray version in the image of the containers
rayVersion: '2.41.0' # should match the Ray version in the image of the containers
######################headGroupSpecs#################################
# Ray head pod template.
headGroupSpec:
# The `rayStartParams` are used to configure the `ray start` command.
# See https://github.com/ray-project/kuberay/blob/master/docs/guidance/rayStartParams.md for the default settings of `rayStartParams` in KubeRay.
# See https://docs.ray.io/en/latest/cluster/cli.html#ray-start for all available options in `rayStartParams`.
rayStartParams:
dashboard-host: '0.0.0.0'
rayStartParams: {}
#pod template
template:
spec:
containers:
- name: ray-head
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: 2
Expand Down Expand Up @@ -107,7 +106,7 @@ spec:
spec:
containers:
- 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'
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: "1"
Expand Down
11 changes: 5 additions & 6 deletions ray-operator/config/samples/ray-service.text-ml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
import_path: text_ml.app
route_prefix: /summarize_translate
runtime_env:
working_dir: "https://github.com/ray-project/serve_config_examples/archive/36862c251615e258a58285934c7c41cffd1ee3b7.zip"
working_dir: "https://github.com/ray-project/serve_config_examples/archive/eb49e7cacd846ed12daf0d0f0cf496d3f30d8f0f.zip"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix Ray Serve breaking change: ray-project/serve_config_examples@df5bd42

pip:
- torch
- transformers
Expand All @@ -30,21 +30,20 @@ spec:
ray_actor_options:
num_cpus: 0.2
rayClusterConfig:
rayVersion: '2.9.0' # should match the Ray version in the image of the containers
rayVersion: '2.41.0' # should match the Ray version in the image of the containers
######################headGroupSpecs#################################
# Ray head pod template.
headGroupSpec:
# The `rayStartParams` are used to configure the `ray start` command.
# See https://github.com/ray-project/kuberay/blob/master/docs/guidance/rayStartParams.md for the default settings of `rayStartParams` in KubeRay.
# See https://docs.ray.io/en/latest/cluster/cli.html#ray-start for all available options in `rayStartParams`.
rayStartParams:
dashboard-host: '0.0.0.0'
rayStartParams: {}
#pod template
template:
spec:
containers:
- name: ray-head
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: 2
Expand Down Expand Up @@ -77,7 +76,7 @@ spec:
spec:
containers:
- 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'
image: rayproject/ray:2.9.0
image: rayproject/ray:2.41.0
resources:
limits:
cpu: "1"
Expand Down
Loading