From 678ec2525e0f2b4651129c4b064c2470faddffa2 Mon Sep 17 00:00:00 2001 From: Kai-Hsun Chen Date: Tue, 13 Aug 2024 18:18:59 -0700 Subject: [PATCH] [release] Update Ray image to 2.34.0 (#2303) * update to 2.34.0 Signed-off-by: kaihsun * use DeploymentHandle instead * change to new Serve API Signed-off-by: kaihsun * skip ray serve autoscaling Signed-off-by: kaihsun * fix autoscaling issue Signed-off-by: kaihsun --------- Signed-off-by: kaihsun --- .github/workflows/test-job.yaml | 18 ++-- apiserver/Autoscaling.md | 4 +- apiserver/CreatingServe.md | 4 +- apiserver/DEVELOPMENT.md | 2 +- apiserver/HACluster.md | 6 +- apiserver/JobSubmission.md | 4 +- apiserver/Makefile | 4 +- apiserver/README.md | 96 +++++++++---------- apiserver/test/cluster/cluster/cluster | 4 +- .../test/cluster/cluster_external_redis.yaml | 6 +- .../e2e/cluster_server_autoscaler_e2e_test.go | 2 +- apiserver/test/e2e/cluster_server_e2e_test.go | 20 ++-- apiserver/test/e2e/job_server_e2e_test.go | 12 +-- apiserver/test/e2e/job_submission_e2e_test.go | 2 +- apiserver/test/e2e/service_server_e2e_test.go | 4 +- apiserver/test/e2e/types.go | 2 +- apiserver/test/job/job | 4 +- apiserver/test/job/query | 4 +- apiserver/test/service/serviceV1 | 4 +- apiserver/test/service/serviceV2 | 4 +- .../ray-cluster.benchmark.yaml.template | 6 +- .../perf-tests/100-raycluster/raycluster.yaml | 4 +- benchmark/perf-tests/100-rayjob/config.yaml | 4 +- .../perf-tests/images/ray-pytorch/Dockerfile | 2 +- .../test/api_params_test.py | 18 ++-- .../test/kuberay_api_test.py | 12 +-- .../examples/use-raw-config_map_with-api.py | 4 +- .../examples/use-raw-with-api.py | 10 +- .../utils/kuberay_cluster_builder.py | 12 +-- .../python_client_test/test_api.py | 8 +- .../python_client_test/test_utils.py | 14 +-- helm-chart/ray-cluster/values.yaml | 4 +- ray-operator/DEVELOPMENT.md | 6 +- ray-operator/apis/ray/v1/rayjob_types_test.go | 8 +- .../apis/ray/v1/rayservice_types_test.go | 8 +- .../apis/ray/v1alpha1/rayjob_types_test.go | 8 +- .../ray/v1alpha1/rayservice_types_test.go | 8 +- .../pytorch-mnist/ray-job.pytorch-mnist.yaml | 6 +- .../ray-job.pytorch-image-classifier.yaml | 2 +- .../samples/ray-cluster.autoscaler-v2.yaml | 4 +- .../samples/ray-cluster.autoscaler.large.yaml | 6 +- .../samples/ray-cluster.autoscaler.yaml | 6 +- .../samples/ray-cluster.complete.large.yaml | 6 +- .../config/samples/ray-cluster.complete.yaml | 6 +- .../ray-cluster.custom-head-service.yaml | 4 +- .../samples/ray-cluster.embed-grafana.yaml | 4 +- .../ray-cluster.external-redis-uri.yaml | 6 +- .../samples/ray-cluster.external-redis.yaml | 6 +- .../samples/ray-cluster.gke-bucket.yaml | 4 +- .../samples/ray-cluster.head-command.yaml | 4 +- .../samples/ray-cluster.heterogeneous.yaml | 8 +- .../ray-cluster.overwrite-command.yaml | 6 +- .../config/samples/ray-cluster.py-spy.yaml | 2 +- .../config/samples/ray-cluster.sample.yaml | 6 +- .../samples/ray-cluster.separate-ingress.yaml | 4 +- .../config/samples/ray-cluster.tls.yaml | 10 +- .../samples/ray-cluster.tpu-v4-multihost.yaml | 4 +- .../ray-cluster.tpu-v4-singlehost.yaml | 4 +- .../ray-cluster.volcano-scheduler-queue.yaml | 6 +- .../ray-cluster.volcano-scheduler.yaml | 4 +- .../ray-job.image-resize.yaml | 6 +- .../samples/ray-job.custom-head-svc.yaml | 6 +- .../samples/ray-job.kueue-toy-sample.yaml | 6 +- .../config/samples/ray-job.modin.yaml | 2 +- .../config/samples/ray-job.resources.yaml | 6 +- .../config/samples/ray-job.sample.yaml | 8 +- .../config/samples/ray-job.shutdown.yaml | 8 +- ray-operator/config/samples/ray-pod.tls.yaml | 4 +- .../samples/ray-service.autoscaler.yaml | 13 ++- .../ray-service.custom-serve-service.yaml | 6 +- .../samples/ray-service.different-port.yaml | 6 +- .../ray-service.high-availability-locust.yaml | 10 +- .../ray-service.high-availability.yaml | 8 +- .../config/samples/ray-service.sample.yaml | 8 +- .../config/samples/ray-service.text-ml.yaml | 6 +- .../samples/ray-service.tpu-single-host.yaml | 6 +- .../security/ray-cluster.pod-security.yaml | 4 +- .../ray/raycluster_controller_test.go | 4 +- .../ray/raycluster_controller_unit_test.go | 8 +- .../controllers/ray/rayjob_controller_test.go | 6 +- .../ray/rayservice_controller_test.go | 6 +- .../ray/rayservice_controller_unit_test.go | 4 +- ray-operator/test/e2e/rayservice_ha_test.go | 2 +- ray-operator/test/support/defaults.go | 4 +- tests/compatibility-test.py | 2 +- tests/test_sample_rayservice_yamls.py | 1 + 86 files changed, 307 insertions(+), 303 deletions(-) diff --git a/.github/workflows/test-job.yaml b/.github/workflows/test-job.yaml index f713e43670..a2f6365d97 100644 --- a/.github/workflows/test-job.yaml +++ b/.github/workflows/test-job.yaml @@ -312,13 +312,13 @@ jobs: run: go test ./pkg/... -race -parallel 4 working-directory: ${{env.working-directory}} - test-compatibility-2_7_0: + test-compatibility-2_8_0: needs: - build_operator - build_apiserver - lint runs-on: ubuntu-latest - name: Compatibility Test - 2.7.0 + name: Compatibility Test - 2.8.0 steps: - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -330,15 +330,15 @@ jobs: - uses: ./.github/workflows/actions/compatibility with: - ray_version: 2.7.0 + ray_version: 2.8.0 - test-compatibility-2_8_0: + test-compatibility-2_9_0: needs: - build_operator - build_apiserver - lint runs-on: ubuntu-latest - name: Compatibility Test - 2.8.0 + name: Compatibility Test - 2.9.0 steps: - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -350,15 +350,15 @@ jobs: - uses: ./.github/workflows/actions/compatibility with: - ray_version: 2.8.0 + ray_version: 2.9.0 - test-compatibility-2_9_0: + test-compatibility-2_34_0: needs: - build_operator - build_apiserver - lint runs-on: ubuntu-latest - name: Compatibility Test - 2.9.0 + name: Compatibility Test - 2.34.0 steps: - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -370,7 +370,7 @@ jobs: - uses: ./.github/workflows/actions/compatibility with: - ray_version: 2.9.0 + ray_version: 2.34.0 test-compatibility-nightly: needs: diff --git a/apiserver/Autoscaling.md b/apiserver/Autoscaling.md index 8132cb3fec..d53273ff7f 100644 --- a/apiserver/Autoscaling.md +++ b/apiserver/Autoscaling.md @@ -47,7 +47,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ }, "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -71,7 +71,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "replicas": 0, "minReplicas": 0, "maxReplicas": 5, diff --git a/apiserver/CreatingServe.md b/apiserver/CreatingServe.md index c3888b59e9..7da2fd08fe 100644 --- a/apiserver/CreatingServe.md +++ b/apiserver/CreatingServe.md @@ -23,7 +23,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "serviceType": "ClusterIP", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -44,7 +44,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, diff --git a/apiserver/DEVELOPMENT.md b/apiserver/DEVELOPMENT.md index e8988a7edb..49be7ee923 100644 --- a/apiserver/DEVELOPMENT.md +++ b/apiserver/DEVELOPMENT.md @@ -70,7 +70,7 @@ There are two `make` targets provide execute the end to end test (integration be The `e2e` test targets use two variables to control what version of Ray images to use in the end to end tests: -* `E2E_API_SERVER_RAY_IMAGE` -- for the ray docker image. Currently set to `rayproject/ray:2.9.0-py310`. On Apple silicon or arm64 development machines the `-aarch64` suffix is added to the image. +* `E2E_API_SERVER_RAY_IMAGE` -- for the ray docker image. Currently set to `rayproject/ray:2.34.0-py310`. On Apple silicon or arm64 development machines the `-aarch64` suffix is added to the image. * `E2E_API_SERVER_URL` -- for the base URL of the deployed KubeRayAPI server. The default value is: `http://localhost:31888` The end to end test targets share the usage of the `GO_TEST_FLAGS`. Overriding the make file variable with a `-v` option allows for both unit and end to end tests to print any output / debug messages. By default, only if there's a test failure those messages are shown. diff --git a/apiserver/HACluster.md b/apiserver/HACluster.md index b07238725c..4fcd42a37e 100644 --- a/apiserver/HACluster.md +++ b/apiserver/HACluster.md @@ -58,7 +58,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ "name": "ha-cluster", "namespace": "default", "user": "boris", - "version": "2.9.0", + "version": "2.34.0", "environment": "DEV", "annotations" : { "ray.io/ft-enabled": "true" @@ -66,7 +66,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -103,7 +103,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, diff --git a/apiserver/JobSubmission.md b/apiserver/JobSubmission.md index 4fc1351f71..359d74caf9 100644 --- a/apiserver/JobSubmission.md +++ b/apiserver/JobSubmission.md @@ -40,7 +40,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -60,7 +60,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, diff --git a/apiserver/Makefile b/apiserver/Makefile index e67fb0c168..5115733dcb 100644 --- a/apiserver/Makefile +++ b/apiserver/Makefile @@ -13,9 +13,9 @@ GO_TEST_FLAGS ?= # Ray docker images to use for end to end tests based upon the architecture # for arm64 environments (Apple silicon included) pull the architecture specific image ifeq (arm64,$(shell go env GOARCH)) -E2E_API_SERVER_RAY_IMAGE ?=rayproject/ray:2.9.0-py310-aarch64 +E2E_API_SERVER_RAY_IMAGE ?=rayproject/ray:2.34.0-py310-aarch64 else -E2E_API_SERVER_RAY_IMAGE ?=rayproject/ray:2.9.0-py310 +E2E_API_SERVER_RAY_IMAGE ?=rayproject/ray:2.34.0-py310 endif # Kuberay API Server base URL to use in end to end tests E2E_API_SERVER_URL ?=http://localhost:31888 diff --git a/apiserver/README.md b/apiserver/README.md index 074401c82d..1826593261 100644 --- a/apiserver/README.md +++ b/apiserver/README.md @@ -369,12 +369,12 @@ Examples: (please make sure that template `default-template` is created before r "name": "test-cluster", "namespace": "ray-system", "user": "3cpo", - "version": "2.9.0", + "version": "2.34.0", "environment": "DEV", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -386,7 +386,7 @@ Examples: (please make sure that template `default-template` is created before r { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -406,11 +406,11 @@ Examples: (please make sure that template `default-template` is created before r "name": "test-cluster", "namespace": "ray-system", "user": "3cpo", - "version": "2.9.0", + "version": "2.34.0", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -421,7 +421,7 @@ Examples: (please make sure that template `default-template` is created before r { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -498,11 +498,11 @@ Examples: "name": "test-cluster", "namespace": "ray-system", "user": "3cpo", - "version": "2.9.0", + "version": "2.34.0", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -513,7 +513,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -632,11 +632,11 @@ Examples: "name": "test-cluster", "namespace": "ray-system", "user": "3cpo", - "version": "2.9.0", + "version": "2.34.0", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -647,7 +647,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -766,11 +766,11 @@ Examples: "name": "test-cluster", "namespace": "ray-system", "user": "3cpo", - "version": "2.9.0", + "version": "2.34.0", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -781,7 +781,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -918,12 +918,12 @@ Examples: "name": "rayjob-test", "namespace": "ray-system", "user": "3cp0", - "version": "2.9.0", + "version": "2.34.0", "entrypoint": "python -V", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0" @@ -933,7 +933,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "replicas": 1, "minReplicas": 0, "maxReplicas": 1, @@ -957,7 +957,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0" @@ -967,7 +967,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -996,12 +996,12 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ "name": "job-test", "namespace": "default", "user": "boris", - "version": "2.9.0", + "version": "2.34.0", "environment": "DEV", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -1021,7 +1021,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, @@ -1050,11 +1050,11 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ "name":"job-test", "namespace":"default", "user":"boris", - "version":"2.9.0", + "version":"2.34.0", "clusterSpec":{ "headGroupSpec":{ "computeTemplate":"default-template", - "image":"rayproject/ray:2.9.0-py310", + "image":"rayproject/ray:2.34.0-py310", "serviceType":"NodePort", "rayStartParams":{ "dashboard-host":"0.0.0.0", @@ -1079,7 +1079,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ { "groupName":"small-wg", "computeTemplate":"default-template", - "image":"rayproject/ray:2.9.0-py310", + "image":"rayproject/ray:2.34.0-py310", "replicas":1, "minReplicas":5, "maxReplicas":1, @@ -1121,11 +1121,11 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/jobs' \ "name": "job-test", "namespace": "default", "user": "boris", - "version": "2.9.0", + "version": "2.34.0", "entrypoint": "python /home/ray/samples/sample_code.py", "runtimeEnv": "pip:\n - requests==2.26.0\n - pendulum==2.1.2\nenv_vars:\n counter_name: test_counter\n", "jobSubmitter": { - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "cpu": "400m", "memory": "150Mi" }, @@ -1208,14 +1208,14 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/jobs' \ "name": "job-test", "namespace": "default", "user": "boris", - "version": "2.9.0", + "version": "2.34.0", "entrypoint": "python /home/ray/samples/sample_code.py", "runtimeEnv": "pip:\n - requests==2.26.0\n - pendulum==2.1.2\nenv_vars:\n counter_name: test_counter\n", "clusterSelector": { "ray.io/cluster": "job-test" }, "jobSubmitter": { - "image": "rayproject/ray:2.9.0-py310" + "image": "rayproject/ray:2.34.0-py310" } }' ``` @@ -1233,7 +1233,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/jobs' \ "ray.io/cluster":"job-test" }, "jobSubmitter":{ - "image":"rayproject/ray:2.9.0-py310" + "image":"rayproject/ray:2.34.0-py310" }, "createdAt":"2023-10-24T11:48:19Z" } @@ -1271,7 +1271,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0" @@ -1281,7 +1281,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -1330,7 +1330,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0" @@ -1340,7 +1340,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -1387,7 +1387,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0" @@ -1397,7 +1397,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -1457,12 +1457,12 @@ Examples: "name": "test-v2", "namespace": "default", "user": "user", - "version": "2.9.0", + "version": "2.34.0", "serveConfigV2": "applications:\n - name: fruit_app\n import_path: fruit.deployment_graph\n route_prefix: /fruit\n runtime_env:\n working_dir: \"https://github.com/ray-project/test_dag/archive/78b4a5da38796123d9f9ffff59bab2792a043e95.zip\"\n deployments:\n - name: MangoStand\n num_replicas: 2\n max_replicas_per_node: 1\n user_config:\n price: 3\n ray_actor_options:\n num_cpus: 0.1\n - name: OrangeStand\n num_replicas: 1\n user_config:\n price: 2\n ray_actor_options:\n num_cpus: 0.1\n - name: PearStand\n num_replicas: 1\n user_config:\n price: 1\n ray_actor_options:\n num_cpus: 0.1\n - name: FruitMarket\n num_replicas: 1\n ray_actor_options:\n num_cpus: 0.1\n - name: math_app\n import_path: conditional_dag.serve_dag\n route_prefix: /calc\n runtime_env:\n working_dir: \"https://github.com/ray-project/test_dag/archive/78b4a5da38796123d9f9ffff59bab2792a043e95.zip\"\n deployments:\n - name: Adder\n num_replicas: 1\n user_config:\n increment: 3\n ray_actor_options:\n num_cpus: 0.1\n - name: Multiplier\n num_replicas: 1\n user_config:\n factor: 5\n ray_actor_options:\n num_cpus: 0.1\n - name: Router\n num_replicas: 1\n", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -1474,7 +1474,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, @@ -1498,7 +1498,7 @@ Examples: "clusterSpec":{ "headGroupSpec":{ "computeTemplate":"default-template", - "image":"rayproject/ray:2.9.0-py310", + "image":"rayproject/ray:2.34.0-py310", "serviceType":"NodePort", "rayStartParams":{ "dashboard-host":"0.0.0.0", @@ -1512,7 +1512,7 @@ Examples: { "groupName":"small-wg", "computeTemplate":"default-template", - "image":"rayproject/ray:2.9.0-py310", + "image":"rayproject/ray:2.34.0-py310", "replicas":1, "minReplicas":1, "maxReplicas":5, @@ -1662,7 +1662,7 @@ Examples "clusterSpec":{ "headGroupSpec":{ "computeTemplate":"default-template", - "image":"rayproject/ray:2.9.0-py310", + "image":"rayproject/ray:2.34.0-py310", "serviceType":"NodePort", "rayStartParams":{ "dashboard-host":"0.0.0.0", @@ -1676,7 +1676,7 @@ Examples { "groupName":"small-wg", "computeTemplate":"default-template", - "image":"rayproject/ray:2.9.0-py310", + "image":"rayproject/ray:2.34.0-py310", "replicas":1, "minReplicas":1, "maxReplicas":5, @@ -1937,7 +1937,7 @@ Examples: "clusterSpec":{ "headGroupSpec":{ "computeTemplate":"default-template", - "image":"rayproject/ray:2.9.0-py310", + "image":"rayproject/ray:2.34.0-py310", "serviceType":"NodePort", "rayStartParams":{ "dashboard-host":"0.0.0.0", @@ -1951,7 +1951,7 @@ Examples: { "groupName":"small-wg", "computeTemplate":"default-template", - "image":"rayproject/ray:2.9.0-py310", + "image":"rayproject/ray:2.34.0-py310", "replicas":1, "minReplicas":1, "maxReplicas":5, @@ -2210,7 +2210,7 @@ Examples: "clusterSpec":{ "headGroupSpec":{ "computeTemplate":"default-template", - "image":"rayproject/ray:2.9.0-py310", + "image":"rayproject/ray:2.34.0-py310", "serviceType":"NodePort", "rayStartParams":{ "dashboard-host":"0.0.0.0", @@ -2224,7 +2224,7 @@ Examples: { "groupName":"small-wg", "computeTemplate":"default-template", - "image":"rayproject/ray:2.9.0-py310", + "image":"rayproject/ray:2.34.0-py310", "replicas":1, "minReplicas":1, "maxReplicas":5, diff --git a/apiserver/test/cluster/cluster/cluster b/apiserver/test/cluster/cluster/cluster index efa533abde..809210acd6 100644 --- a/apiserver/test/cluster/cluster/cluster +++ b/apiserver/test/cluster/cluster/cluster @@ -7,7 +7,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/clusters' \ "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -27,7 +27,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/clusters' \ { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.9.0-py310", + "image": "rayproject/ray:2.34.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, diff --git a/apiserver/test/cluster/cluster_external_redis.yaml b/apiserver/test/cluster/cluster_external_redis.yaml index 63d12e9eeb..4e828ddcec 100644 --- a/apiserver/test/cluster/cluster_external_redis.yaml +++ b/apiserver/test/cluster/cluster_external_redis.yaml @@ -10,7 +10,7 @@ metadata: # ray.io/external-storage-namespace: "my-raycluster-storage" name: raycluster-external-redis spec: - rayVersion: '2.9.0' + rayVersion: '2.34.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. @@ -26,7 +26,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "1" @@ -84,7 +84,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 volumeMounts: - mountPath: /tmp/ray name: ray-logs diff --git a/apiserver/test/e2e/cluster_server_autoscaler_e2e_test.go b/apiserver/test/e2e/cluster_server_autoscaler_e2e_test.go index a659e54d54..76685c5eb4 100644 --- a/apiserver/test/e2e/cluster_server_autoscaler_e2e_test.go +++ b/apiserver/test/e2e/cluster_server_autoscaler_e2e_test.go @@ -49,7 +49,7 @@ func TestCreateClusterAutoscaler(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ EnableInTreeAutoscaling: true, diff --git a/apiserver/test/e2e/cluster_server_e2e_test.go b/apiserver/test/e2e/cluster_server_e2e_test.go index 096dc391d5..ca640e2219 100644 --- a/apiserver/test/e2e/cluster_server_e2e_test.go +++ b/apiserver/test/e2e/cluster_server_e2e_test.go @@ -42,7 +42,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "3cpo", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -80,7 +80,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -140,7 +140,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -248,7 +248,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "bullwinkle", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: nil, }, @@ -265,7 +265,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "bullwinkle", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{}, }, @@ -282,7 +282,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -310,7 +310,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -335,7 +335,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -365,7 +365,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -399,7 +399,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ diff --git a/apiserver/test/e2e/job_server_e2e_test.go b/apiserver/test/e2e/job_server_e2e_test.go index 522b8d781f..bddb2b2292 100644 --- a/apiserver/test/e2e/job_server_e2e_test.go +++ b/apiserver/test/e2e/job_server_e2e_test.go @@ -86,7 +86,7 @@ func TestCreateJobWithDisposableClusters(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "natacha", - Version: "2.9.0", + Version: "2.34.0", Entrypoint: "python /home/ray/samples/counter_sample.py", RuntimeEnv: "pip:\n - requests==2.26.0\n - pendulum==2.1.2\nenv_vars:\n counter_name: test_counter\n", ShutdownAfterJobFinishes: true, @@ -105,7 +105,7 @@ func TestCreateJobWithDisposableClusters(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "natacha", - Version: "2.9.0", + Version: "2.34.0", Entrypoint: "python /home/ray/samples/fail_fast.py", ShutdownAfterJobFinishes: true, ClusterSpec: clusterSpec, @@ -196,7 +196,7 @@ func TestCreateJobWithDisposableClusters(t *testing.T) { Namespace: tCtx.GetNamespaceName(), Name: tCtx.GetNextName(), User: "bullwinkle", - Version: "2.9.0", + Version: "2.34.0", Entrypoint: "python /home/ray/samples/counter_sample.py", RuntimeEnv: "pip:\n - requests==2.26.0\n - pendulum==2.1.2\nenv_vars:\n counter_name: test_counter\n", ShutdownAfterJobFinishes: true, @@ -444,7 +444,7 @@ func TestCreateJobWithClusterSelector(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "r2d2", - Version: "2.9.0", + Version: "2.34.0", Entrypoint: "python /home/ray/samples/counter_sample.py", Metadata: map[string]string{}, RuntimeEnv: "pip:\n - requests==2.26.0\n - pendulum==2.1.2\nenv_vars:\n counter_name: test_counter\n", @@ -466,7 +466,7 @@ func TestCreateJobWithClusterSelector(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "r2d2", - Version: "2.9.0", + Version: "2.34.0", Entrypoint: "python /home/ray/samples/fail_fast.py", RuntimeEnv: "pip:\n - requests==2.26.0\n - pendulum==2.1.2\nenv_vars:\n counter_name: test_counter\n", ShutdownAfterJobFinishes: true, @@ -532,7 +532,7 @@ func createTestJob(t *testing.T, tCtx *End2EndTestingContext) *api.CreateRayJobR Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "natacha", - Version: "2.9.0", + Version: "2.34.0", Entrypoint: "python /home/ray/samples/counter_sample.py", RuntimeEnv: "pip:\n - requests==2.26.0\n - pendulum==2.1.2\nenv_vars:\n counter_name: test_counter\n", ShutdownAfterJobFinishes: true, diff --git a/apiserver/test/e2e/job_submission_e2e_test.go b/apiserver/test/e2e/job_submission_e2e_test.go index 72c96c362f..bc14a69fd0 100644 --- a/apiserver/test/e2e/job_submission_e2e_test.go +++ b/apiserver/test/e2e/job_submission_e2e_test.go @@ -41,7 +41,7 @@ func TestCreateJobSubmission(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.9.0", + Version: "2.34.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ diff --git a/apiserver/test/e2e/service_server_e2e_test.go b/apiserver/test/e2e/service_server_e2e_test.go index bfcb624b28..0ba7520d09 100644 --- a/apiserver/test/e2e/service_server_e2e_test.go +++ b/apiserver/test/e2e/service_server_e2e_test.go @@ -60,7 +60,7 @@ func TestCreateServiceV2(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "user1", - Version: "2.9.0", + Version: "2.34.0", ServeConfig_V2: "applications:\n - name: fruit_app\n import_path: fruit.deployment_graph\n route_prefix: /fruit\n runtime_env:\n working_dir: \"https://github.com/ray-project/test_dag/archive/78b4a5da38796123d9f9ffff59bab2792a043e95.zip\"\n deployments:\n - name: MangoStand\n num_replicas: 2\n max_replicas_per_node: 1\n user_config:\n price: 3\n ray_actor_options:\n num_cpus: 0.1\n - name: OrangeStand\n num_replicas: 1\n user_config:\n price: 2\n ray_actor_options:\n num_cpus: 0.1\n - name: PearStand\n num_replicas: 1\n user_config:\n price: 1\n ray_actor_options:\n num_cpus: 0.1\n - name: FruitMarket\n num_replicas: 1\n ray_actor_options:\n num_cpus: 0.1\n - name: math_app\n import_path: conditional_dag.serve_dag\n route_prefix: /calc\n runtime_env:\n working_dir: \"https://github.com/ray-project/test_dag/archive/78b4a5da38796123d9f9ffff59bab2792a043e95.zip\"\n deployments:\n - name: Adder\n num_replicas: 1\n user_config:\n increment: 3\n ray_actor_options:\n num_cpus: 0.1\n - name: Multiplier\n num_replicas: 1\n user_config:\n factor: 5\n ray_actor_options:\n num_cpus: 0.1\n - name: Router\n num_replicas: 1\n", ServiceUnhealthySecondThreshold: 10, DeploymentUnhealthySecondThreshold: 20, @@ -356,7 +356,7 @@ func createTestServiceV2(t *testing.T, tCtx *End2EndTestingContext) *api.CreateR Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "user1", - Version: "2.9.0", + Version: "2.34.0", ServeConfig_V2: "applications:\n - name: fruit_app\n import_path: fruit.deployment_graph\n route_prefix: /fruit\n runtime_env:\n working_dir: \"https://github.com/ray-project/test_dag/archive/78b4a5da38796123d9f9ffff59bab2792a043e95.zip\"\n deployments:\n - name: MangoStand\n num_replicas: 2\n max_replicas_per_node: 1\n user_config:\n price: 3\n ray_actor_options:\n num_cpus: 0.1\n - name: OrangeStand\n num_replicas: 1\n user_config:\n price: 2\n ray_actor_options:\n num_cpus: 0.1\n - name: PearStand\n num_replicas: 1\n user_config:\n price: 1\n ray_actor_options:\n num_cpus: 0.1\n - name: FruitMarket\n num_replicas: 1\n ray_actor_options:\n num_cpus: 0.1\n - name: math_app\n import_path: conditional_dag.serve_dag\n route_prefix: /calc\n runtime_env:\n working_dir: \"https://github.com/ray-project/test_dag/archive/78b4a5da38796123d9f9ffff59bab2792a043e95.zip\"\n deployments:\n - name: Adder\n num_replicas: 1\n user_config:\n increment: 3\n ray_actor_options:\n num_cpus: 0.1\n - name: Multiplier\n num_replicas: 1\n user_config:\n factor: 5\n ray_actor_options:\n num_cpus: 0.1\n - name: Router\n num_replicas: 1\n", ServiceUnhealthySecondThreshold: 10, DeploymentUnhealthySecondThreshold: 20, diff --git a/apiserver/test/e2e/types.go b/apiserver/test/e2e/types.go index a22f5805ad..202e76281a 100644 --- a/apiserver/test/e2e/types.go +++ b/apiserver/test/e2e/types.go @@ -117,7 +117,7 @@ func withRayImage() contextOption { return func(_ *testing.T, testingContext *End2EndTestingContext) error { rayImage := os.Getenv("E2E_API_SERVER_RAY_IMAGE") if strings.TrimSpace(rayImage) == "" { - rayImage = "rayproject/ray:2.9.0-py310" + rayImage = "rayproject/ray:2.34.0-py310" } // detect if we are running on arm64 machine, most likely apple silicon // the os name is not checked as it also possible that it might be linux diff --git a/apiserver/test/job/job b/apiserver/test/job/job index 67d4212175..d2392f81cd 100644 --- a/apiserver/test/job/job +++ b/apiserver/test/job/job @@ -9,7 +9,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/jobs' \ "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.6.3-py310", + "image": "rayproject/ray:2.34.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -29,7 +29,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/jobs' \ { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.6.3-py310", + "image": "rayproject/ray:2.34.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, diff --git a/apiserver/test/job/query b/apiserver/test/job/query index 02c7405005..54a712b619 100644 --- a/apiserver/test/job/query +++ b/apiserver/test/job/query @@ -27,7 +27,7 @@ All of them return the same value (for our case with a single job deployed): "clusterSpec":{ "headGroupSpec":{ "computeTemplate":"default-template", - "image":"rayproject/ray:2.6.3-py310", + "image":"rayproject/ray:2.34.0-py310", "serviceType":"NodePort", "rayStartParams":{ "dashboard-host":"0.0.0.0", @@ -47,7 +47,7 @@ All of them return the same value (for our case with a single job deployed): { "groupName":"small-wg", "computeTemplate":"default-template", - "image":"rayproject/ray:2.6.3-py310", + "image":"rayproject/ray:2.34.0-py310", "replicas":1, "minReplicas":5, "maxReplicas":1, diff --git a/apiserver/test/service/serviceV1 b/apiserver/test/service/serviceV1 index 641c3446ed..129f0d4001 100644 --- a/apiserver/test/service/serviceV1 +++ b/apiserver/test/service/serviceV1 @@ -45,7 +45,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/services' \ "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.6.3-py310", + "image": "rayproject/ray:2.34.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -57,7 +57,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/services' \ { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.6.3-py310", + "image": "rayproject/ray:2.34.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, diff --git a/apiserver/test/service/serviceV2 b/apiserver/test/service/serviceV2 index 343011cafc..ebf94f5093 100644 --- a/apiserver/test/service/serviceV2 +++ b/apiserver/test/service/serviceV2 @@ -10,7 +10,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/services' \ "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.6.3-py310", + "image": "rayproject/ray:2.34.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -22,7 +22,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/services' \ { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.6.3-py310", + "image": "rayproject/ray:2.34.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, diff --git a/benchmark/memory_benchmark/scripts/ray-cluster.benchmark.yaml.template b/benchmark/memory_benchmark/scripts/ray-cluster.benchmark.yaml.template index f6f8ec66b8..dc4a259421 100644 --- a/benchmark/memory_benchmark/scripts/ray-cluster.benchmark.yaml.template +++ b/benchmark/memory_benchmark/scripts/ray-cluster.benchmark.yaml.template @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: '$raycluster_name' spec: - rayVersion: '2.5.0' + rayVersion: '2.34.0' # Ray head pod template headGroupSpec: rayStartParams: @@ -12,7 +12,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.5.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 1 @@ -37,7 +37,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.5.0 + image: rayproject/ray:2.34.0 lifecycle: preStop: exec: diff --git a/benchmark/perf-tests/100-raycluster/raycluster.yaml b/benchmark/perf-tests/100-raycluster/raycluster.yaml index 72d34b8ab3..4bc37a9486 100644 --- a/benchmark/perf-tests/100-raycluster/raycluster.yaml +++ b/benchmark/perf-tests/100-raycluster/raycluster.yaml @@ -13,7 +13,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.3 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs @@ -43,7 +43,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.3 + image: rayproject/ray:2.34.0 volumeMounts: - mountPath: /tmp/ray name: ray-logs diff --git a/benchmark/perf-tests/100-rayjob/config.yaml b/benchmark/perf-tests/100-rayjob/config.yaml index 2279cee67a..7c7e123d51 100644 --- a/benchmark/perf-tests/100-rayjob/config.yaml +++ b/benchmark/perf-tests/100-rayjob/config.yaml @@ -39,7 +39,7 @@ steps: - basename: pytorch-mnist objectTemplatePath: pytorch-mnist-rayjob.yaml templateFillMap: - Image: "rayproject/ray:2.9.3" # replace with image built from images/ray-pytorch + Image: "rayproject/ray:2.34.0" # replace with image built from images/ray-pytorch - name: Creating RayJobs for Ray Data Image Resizing phases: - namespaceRange: @@ -51,7 +51,7 @@ steps: - basename: ray-data-image-resize objectTemplatePath: ray-data-image-resize.yaml templateFillMap: - Image: "rayproject/ray:2.9.3" # replace with image built from images/ray-pytorch + Image: "rayproject/ray:2.34.0" # replace with image built from images/ray-pytorch - name: Wait for RayJobs complete measurements: - Identifier: WaitForRayJob diff --git a/benchmark/perf-tests/images/ray-pytorch/Dockerfile b/benchmark/perf-tests/images/ray-pytorch/Dockerfile index 60de986270..a3d80c3071 100644 --- a/benchmark/perf-tests/images/ray-pytorch/Dockerfile +++ b/benchmark/perf-tests/images/ray-pytorch/Dockerfile @@ -1,4 +1,4 @@ -FROM rayproject/ray:2.9.3 +FROM rayproject/ray:2.34.0 RUN pip install torch torchvision numpy RUN wget https://raw.githubusercontent.com/ray-project/kuberay/master/ray-operator/config/samples/pytorch-mnist/ray_train_pytorch_mnist.py diff --git a/clients/python-apiserver-client/test/api_params_test.py b/clients/python-apiserver-client/test/api_params_test.py index ad6a01569d..851ce8afea 100644 --- a/clients/python-apiserver-client/test/api_params_test.py +++ b/clients/python-apiserver-client/test/api_params_test.py @@ -181,7 +181,7 @@ def test_head_node_spec(): head = HeadNodeSpec( compute_template="template", - image="rayproject/ray:2.9.0-py310", + image="rayproject/ray:2.34.0-py310", ray_start_params=DEFAULT_HEAD_START_PARAMS, enable_ingress=True, service_type=ServiceType.ClusterIP, @@ -213,7 +213,7 @@ def test_worker_node_spec(): worker = WorkerNodeSpec( group_name="group", compute_template="template", - image="rayproject/ray:2.9.0-py310", + image="rayproject/ray:2.34.0-py310", replicas=2, min_replicas=2, max_replicas=2, @@ -261,7 +261,7 @@ def test_cluster_spec(): spec = ClusterSpec( head_node=HeadNodeSpec( compute_template="template", - image="rayproject/ray:2.9.0-py310", + image="rayproject/ray:2.34.0-py310", ray_start_params=DEFAULT_HEAD_START_PARAMS, volumes=volumes, enable_ingress=True, @@ -275,7 +275,7 @@ def test_cluster_spec(): replicas=2, min_replicas=2, max_replicas=2, - image="rayproject/ray:2.9.0-py310", + image="rayproject/ray:2.34.0-py310", ray_start_params=DEFAULT_WORKER_START_PARAMS, volumes=volumes, environment=env_s, @@ -287,7 +287,7 @@ def test_cluster_spec(): replicas=2, min_replicas=2, max_replicas=2, - image="rayproject/ray:2.9.0-py310", + image="rayproject/ray:2.34.0-py310", ray_start_params=DEFAULT_WORKER_START_PARAMS, volumes=volumes, environment=env_s, @@ -339,7 +339,7 @@ def test_cluster(): volumes=volumes, environment=env_s, annotations={"a_key": "a_val"}, - image="rayproject/ray:2.9.0-py310", + image="rayproject/ray:2.34.0-py310", ), worker_groups=[ WorkerNodeSpec( @@ -348,7 +348,7 @@ def test_cluster(): replicas=2, min_replicas=2, max_replicas=2, - image="rayproject/ray:2.9.0-py310", + image="rayproject/ray:2.34.0-py310", ray_start_params=DEFAULT_WORKER_START_PARAMS, volumes=volumes, environment=env_s, @@ -360,7 +360,7 @@ def test_cluster(): replicas=2, min_replicas=2, max_replicas=2, - image="rayproject/ray:2.9.0-py310", + image="rayproject/ray:2.34.0-py310", ray_start_params=DEFAULT_WORKER_START_PARAMS, volumes=volumes, environment=env_s, @@ -372,7 +372,7 @@ def test_cluster(): name="test", namespace="default", user="boris", - version="2.9.0", + version="2.34.0", cluster_spec=spec, deployment_environment=Environment.DEV, cluster_environment=env_s, diff --git a/clients/python-apiserver-client/test/kuberay_api_test.py b/clients/python-apiserver-client/test/kuberay_api_test.py index c875caa983..2b1c0563fa 100644 --- a/clients/python-apiserver-client/test/kuberay_api_test.py +++ b/clients/python-apiserver-client/test/kuberay_api_test.py @@ -107,7 +107,7 @@ def test_cluster(): head = HeadNodeSpec( compute_template="default-template", ray_start_params={"metrics-export-port": "8080", "num-cpus": "0"}, - image="rayproject/ray:2.9.3-py310", + image="rayproject/ray:2.34.0-py310", service_type=ServiceType.ClusterIP, volumes=[volume], environment=environment, @@ -120,7 +120,7 @@ def test_cluster(): min_replicas=1, max_replicas=1, ray_start_params=DEFAULT_WORKER_START_PARAMS, - image="rayproject/ray:2.9.3-py310", + image="rayproject/ray:2.34.0-py310", volumes=[volume], environment=environment, image_pull_policy="Always", @@ -129,7 +129,7 @@ def test_cluster(): name="test", namespace="default", user="boris", - version="2.9.0", + version="2.34.0", cluster_spec=ClusterSpec(head_node=head, worker_groups=[worker]), ) # create @@ -207,7 +207,7 @@ def test_job_submission(): head = HeadNodeSpec( compute_template="default-template", ray_start_params={"metrics-export-port": "8080", "num-cpus": "0"}, - image="rayproject/ray:2.9.3-py310", + image="rayproject/ray:2.34.0-py310", service_type=ServiceType.ClusterIP, volumes=[volume], environment=environment, @@ -220,7 +220,7 @@ def test_job_submission(): min_replicas=0, max_replicas=2, ray_start_params=DEFAULT_WORKER_START_PARAMS, - image="rayproject/ray:2.9.3-py310", + image="rayproject/ray:2.34.0-py310", volumes=[volume], environment=environment, image_pull_policy="IfNotPresent", @@ -230,7 +230,7 @@ def test_job_submission(): name="test-job", namespace="default", user="boris", - version="2.9.0", + version="2.34.0", cluster_spec=ClusterSpec(head_node=head, worker_groups=[worker], autoscaling_options=autoscaling), ) # create diff --git a/clients/python-client/examples/use-raw-config_map_with-api.py b/clients/python-client/examples/use-raw-config_map_with-api.py index e3d200c150..81060c7705 100644 --- a/clients/python-client/examples/use-raw-config_map_with-api.py +++ b/clients/python-client/examples/use-raw-config_map_with-api.py @@ -47,7 +47,7 @@ "name": "raycluster-getting-started" }, "spec": { - "rayVersion": "2.9.0", + "rayVersion": "2.34.0", "headGroupSpec": { "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -58,7 +58,7 @@ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "volumeMounts": [ { "mountPath": "/opt", diff --git a/clients/python-client/examples/use-raw-with-api.py b/clients/python-client/examples/use-raw-with-api.py index f492218396..4b5723fab8 100644 --- a/clients/python-client/examples/use-raw-with-api.py +++ b/clients/python-client/examples/use-raw-with-api.py @@ -28,7 +28,7 @@ "name": "raycluster-mini-raw", }, "spec": { - "rayVersion": "2.9.0", + "rayVersion": "2.34.0", "headGroupSpec": { "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -39,7 +39,7 @@ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "resources": { "limits": {"cpu": 1, "memory": "2Gi"}, "requests": {"cpu": "500m", "memory": "2Gi"}, @@ -66,7 +66,7 @@ "name": "raycluster-complete-raw", }, "spec": { - "rayVersion": "2.9.0", + "rayVersion": "2.34.0", "headGroupSpec": { "rayStartParams": {"dashboard-host": "0.0.0.0"}, "template": { @@ -75,7 +75,7 @@ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "ports": [ {"containerPort": 6379, "name": "gcs"}, {"containerPort": 8265, "name": "dashboard"}, @@ -111,7 +111,7 @@ "containers": [ { "name": "ray-worker", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "lifecycle": { "preStop": { "exec": { diff --git a/clients/python-client/python_client/utils/kuberay_cluster_builder.py b/clients/python-client/python_client/utils/kuberay_cluster_builder.py index fbb6237691..b358c5c7c6 100644 --- a/clients/python-client/python_client/utils/kuberay_cluster_builder.py +++ b/clients/python-client/python_client/utils/kuberay_cluster_builder.py @@ -60,7 +60,7 @@ def build_meta( name: str, k8s_namespace: str = "default", labels: dict = None, - ray_version: str = "2.9.0", + ray_version: str = "2.34.0", ): """Builds the metadata and ray version of the cluster. @@ -68,7 +68,7 @@ def build_meta( - name (str): The name of the cluster. - k8s_namespace (str, optional): The namespace in which the Ray cluster exists. Defaults to "default". - labels (dict, optional): A dictionary of key-value pairs to add as labels to the cluster. Defaults to None. - - ray_version (str, optional): The version of Ray to use for the cluster. Defaults to "2.9.0". + - ray_version (str, optional): The version of Ray to use for the cluster. Defaults to "2.34.0". """ self.cluster = self.cluster_utils.populate_meta( cluster=self.cluster, @@ -81,7 +81,7 @@ def build_meta( def build_head( self, - ray_image: str = "rayproject/ray:2.9.0", + ray_image: str = "rayproject/ray:2.34.0", service_type: str = "ClusterIP", cpu_requests: str = "2", memory_requests: str = "3G", @@ -94,7 +94,7 @@ def build_head( """Build head node of the ray cluster. Parameters: - - ray_image (str): Docker image for the head node. Default value is "rayproject/ray:2.9.0". + - ray_image (str): Docker image for the head node. Default value is "rayproject/ray:2.34.0". - service_type (str): Service type of the head node. Default value is "ClusterIP", which creates a headless ClusterIP service. - cpu_requests (str): CPU requests for the head node. Default value is "2". - memory_requests (str): Memory requests for the head node. Default value is "3G". @@ -118,7 +118,7 @@ def build_head( def build_worker( self, group_name: str, - ray_image: str = "rayproject/ray:2.9.0", + ray_image: str = "rayproject/ray:2.34.0", ray_command: Any = ["/bin/bash", "-lc"], init_image: str = "busybox:1.28", cpu_requests: str = "1", @@ -136,7 +136,7 @@ def build_worker( Parameters: - group_name (str): name of the worker group. - - ray_image (str, optional): Docker image for the Ray process. Default is "rayproject/ray:2.9.0". + - ray_image (str, optional): Docker image for the Ray process. Default is "rayproject/ray:2.34.0". - ray_command (Any, optional): Command to run in the Docker container. Default is ["/bin/bash", "-lc"]. - init_image (str, optional): Docker image for the init container. Default is "busybox:1.28". - cpu_requests (str, optional): CPU requests for the worker pods. Default is "1". diff --git a/clients/python-client/python_client_test/test_api.py b/clients/python-client/python_client_test/test_api.py index 32eae8ece7..21bf49fee7 100644 --- a/clients/python-client/python_client_test/test_api.py +++ b/clients/python-client/python_client_test/test_api.py @@ -14,7 +14,7 @@ "name": "raycluster-complete-raw", }, "spec": { - "rayVersion": "2.9.0", + "rayVersion": "2.34.0", "headGroupSpec": { "rayStartParams": {"dashboard-host": "0.0.0.0"}, "template": { @@ -23,7 +23,7 @@ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "ports": [ {"containerPort": 6379, "name": "gcs"}, {"containerPort": 8265, "name": "dashboard"}, @@ -59,7 +59,7 @@ "containers": [ { "name": "ray-worker", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "lifecycle": { "preStop": { "exec": { @@ -77,7 +77,7 @@ }, { "name": "side-car", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "resources": { "limits": {"cpu": "1", "memory": "1G"}, "requests": {"cpu": "500m", "memory": "1G"}, diff --git a/clients/python-client/python_client_test/test_utils.py b/clients/python-client/python_client_test/test_utils.py index 5b89e85e8d..dd0bbdac95 100644 --- a/clients/python-client/python_client_test/test_utils.py +++ b/clients/python-client/python_client_test/test_utils.py @@ -13,7 +13,7 @@ "name": "raycluster-complete-raw", }, "spec": { - "rayVersion": "2.9.0", + "rayVersion": "2.34.0", "headGroupSpec": { "rayStartParams": {"dashboard-host": "0.0.0.0"}, "template": { @@ -22,7 +22,7 @@ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "ports": [ {"containerPort": 6379, "name": "gcs"}, {"containerPort": 8265, "name": "dashboard"}, @@ -58,7 +58,7 @@ "containers": [ { "name": "ray-worker", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "lifecycle": { "preStop": { "exec": { @@ -76,7 +76,7 @@ }, { "name": "side-car", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "resources": { "limits": {"cpu": "1", "memory": "1G"}, "requests": {"cpu": "500m", "memory": "1G"}, @@ -115,7 +115,7 @@ def __init__(self, methodName: str = ...) -> None: def test_populate_worker_group(self): worker_group, succeeded = self.utils.populate_worker_group( group_name="small-group", - ray_image="rayproject/ray:2.9.0", + ray_image="rayproject/ray:2.34.0", ray_command=["/bin/bash", "-lc"], init_image="busybox:1.28", cpu_requests="3", @@ -137,7 +137,7 @@ def test_populate_worker_group(self): self.assertEqual(worker_group["replicas"], 1) container = worker_group["template"]["spec"]["containers"][0] - self.assertEqual(container["image"], "rayproject/ray:2.9.0") + self.assertEqual(container["image"], "rayproject/ray:2.34.0") self.assertEqual(container["command"], ["/bin/bash", "-lc"]) resources = container["resources"] @@ -149,7 +149,7 @@ def test_populate_worker_group(self): # min_replicas can be 0 and ray_start_params can be an empty dict. worker_group, succeeded = self.utils.populate_worker_group( group_name="small-group", - ray_image="rayproject/ray:2.3.0", + ray_image="rayproject/ray:2.34.0", ray_command=["/bin/bash", "-lc"], init_image="busybox:1.28", cpu_requests="3", diff --git a/helm-chart/ray-cluster/values.yaml b/helm-chart/ray-cluster/values.yaml index ea430cfd17..6493f3a57e 100644 --- a/helm-chart/ray-cluster/values.yaml +++ b/helm-chart/ray-cluster/values.yaml @@ -7,7 +7,7 @@ image: repository: rayproject/ray - tag: 2.9.0 + tag: 2.34.0 pullPolicy: IfNotPresent nameOverride: "kuberay" @@ -26,7 +26,7 @@ common: head: # rayVersion determines the autoscaler's image version. # It should match the Ray version in the image of the containers. - # rayVersion: 2.9.0 + # rayVersion: 2.34.0 # If enableInTreeAutoscaling is true, the autoscaler sidecar will be added to the Ray head pod. # Ray autoscaler integration is supported only for Ray versions >= 1.11.0 # Ray autoscaler integration is Beta with KubeRay >= 0.3.0 and Ray >= 2.0.0. diff --git a/ray-operator/DEVELOPMENT.md b/ray-operator/DEVELOPMENT.md index 8eea32e499..8f4566ba2d 100644 --- a/ray-operator/DEVELOPMENT.md +++ b/ray-operator/DEVELOPMENT.md @@ -277,7 +277,7 @@ These tests operate small Ray clusters running within a [kind](https://kind.sigs # [Usage]: RAY_IMAGE=$RAY_IMAGE OPERATOR_IMAGE=$OPERATOR_IMAGE python3 tests/compatibility-test.py # These 3 environment variables are optional. # [Example]: - RAY_IMAGE=rayproject/ray:2.9.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/compatibility-test.py + RAY_IMAGE=rayproject/ray:2.34.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/compatibility-test.py ``` ### Running configuration tests locally. @@ -287,9 +287,9 @@ and `tests/test_sample_rayservice_yamls.py`. Currently, only a few of these samp ```bash # Test RayCluster doc examples. -RAY_IMAGE=rayproject/ray:2.9.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_raycluster_yamls.py +RAY_IMAGE=rayproject/ray:2.34.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_raycluster_yamls.py # Test RayService doc examples. -RAY_IMAGE=rayproject/ray:2.9.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayservice_yamls.py +RAY_IMAGE=rayproject/ray:2.34.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayservice_yamls.py ``` See [KubeRay PR #605](https://github.com/ray-project/kuberay/pull/605) for more details about the test framework. diff --git a/ray-operator/apis/ray/v1/rayjob_types_test.go b/ray-operator/apis/ray/v1/rayjob_types_test.go index 6e59987464..22119a781f 100644 --- a/ray-operator/apis/ray/v1/rayjob_types_test.go +++ b/ray-operator/apis/ray/v1/rayjob_types_test.go @@ -45,7 +45,7 @@ var expectedRayJob = RayJob{ Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Env: []corev1.EnvVar{ { Name: "MY_POD_IP", @@ -107,7 +107,7 @@ var expectedRayJob = RayJob{ Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, Env: []corev1.EnvVar{ @@ -168,7 +168,7 @@ var testRayJobJSON = `{ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "ports": [ { "name": "gcs-server", @@ -231,7 +231,7 @@ var testRayJobJSON = `{ "containers": [ { "name": "ray-worker", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "command": [ "echo" ], diff --git a/ray-operator/apis/ray/v1/rayservice_types_test.go b/ray-operator/apis/ray/v1/rayservice_types_test.go index 6a73b4642a..fa07647693 100644 --- a/ray-operator/apis/ray/v1/rayservice_types_test.go +++ b/ray-operator/apis/ray/v1/rayservice_types_test.go @@ -41,7 +41,7 @@ var myRayService = &RayService{ Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Env: []corev1.EnvVar{ { Name: "MY_POD_IP", @@ -108,7 +108,7 @@ var myRayService = &RayService{ Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, Env: []corev1.EnvVar{ @@ -162,7 +162,7 @@ var expected = `{ "containers":[ { "name":"ray-head", - "image":"rayproject/ray:2.9.0", + "image":"rayproject/ray:2.34.0", "ports":[ { "name":"gcs-server", @@ -230,7 +230,7 @@ var expected = `{ "containers":[ { "name":"ray-worker", - "image":"rayproject/ray:2.9.0", + "image":"rayproject/ray:2.34.0", "command":[ "echo" ], diff --git a/ray-operator/apis/ray/v1alpha1/rayjob_types_test.go b/ray-operator/apis/ray/v1alpha1/rayjob_types_test.go index 41cb1db7d1..ec8dbc0429 100644 --- a/ray-operator/apis/ray/v1alpha1/rayjob_types_test.go +++ b/ray-operator/apis/ray/v1alpha1/rayjob_types_test.go @@ -45,7 +45,7 @@ var expectedRayJob = RayJob{ Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Env: []corev1.EnvVar{ { Name: "MY_POD_IP", @@ -106,7 +106,7 @@ var expectedRayJob = RayJob{ Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, Env: []corev1.EnvVar{ @@ -167,7 +167,7 @@ var testRayJobJSON = `{ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "ports": [ { "name": "gcs-server", @@ -229,7 +229,7 @@ var testRayJobJSON = `{ "containers": [ { "name": "ray-worker", - "image": "rayproject/ray:2.9.0", + "image": "rayproject/ray:2.34.0", "command": [ "echo" ], diff --git a/ray-operator/apis/ray/v1alpha1/rayservice_types_test.go b/ray-operator/apis/ray/v1alpha1/rayservice_types_test.go index c8f3298207..76fc59e729 100644 --- a/ray-operator/apis/ray/v1alpha1/rayservice_types_test.go +++ b/ray-operator/apis/ray/v1alpha1/rayservice_types_test.go @@ -41,7 +41,7 @@ var myRayService = &RayService{ Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Env: []corev1.EnvVar{ { Name: "MY_POD_IP", @@ -107,7 +107,7 @@ var myRayService = &RayService{ Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, Env: []corev1.EnvVar{ @@ -161,7 +161,7 @@ var expected = `{ "containers":[ { "name":"ray-head", - "image":"rayproject/ray:2.9.0", + "image":"rayproject/ray:2.34.0", "ports":[ { "name":"gcs-server", @@ -228,7 +228,7 @@ var expected = `{ "containers":[ { "name":"ray-worker", - "image":"rayproject/ray:2.9.0", + "image":"rayproject/ray:2.34.0", "command":[ "echo" ], diff --git a/ray-operator/config/samples/pytorch-mnist/ray-job.pytorch-mnist.yaml b/ray-operator/config/samples/pytorch-mnist/ray-job.pytorch-mnist.yaml index 567dea311e..62804e9739 100644 --- a/ray-operator/config/samples/pytorch-mnist/ray-job.pytorch-mnist.yaml +++ b/ray-operator/config/samples/pytorch-mnist/ray-job.pytorch-mnist.yaml @@ -16,7 +16,7 @@ spec: # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.9.0' + rayVersion: '2.34.0' headGroupSpec: rayStartParams: {} # Pod template @@ -24,7 +24,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs-server @@ -50,7 +50,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "2" diff --git a/ray-operator/config/samples/pytorch-resnet-image-classifier/ray-job.pytorch-image-classifier.yaml b/ray-operator/config/samples/pytorch-resnet-image-classifier/ray-job.pytorch-image-classifier.yaml index bb3826df87..29c1365e29 100644 --- a/ray-operator/config/samples/pytorch-resnet-image-classifier/ray-job.pytorch-image-classifier.yaml +++ b/ray-operator/config/samples/pytorch-resnet-image-classifier/ray-job.pytorch-image-classifier.yaml @@ -31,7 +31,7 @@ spec: serviceAccountName: pytorch-distributed-training containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 env: - name: NUM_WORKERS value: "4" diff --git a/ray-operator/config/samples/ray-cluster.autoscaler-v2.yaml b/ray-operator/config/samples/ray-cluster.autoscaler-v2.yaml index c5a22232bf..503821732d 100644 --- a/ray-operator/config/samples/ray-cluster.autoscaler-v2.yaml +++ b/ray-operator/config/samples/ray-cluster.autoscaler-v2.yaml @@ -33,7 +33,7 @@ spec: containers: # The Ray head container - name: ray-head - image: rayproject/ray:2.10.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs @@ -81,7 +81,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.10.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "1" diff --git a/ray-operator/config/samples/ray-cluster.autoscaler.large.yaml b/ray-operator/config/samples/ray-cluster.autoscaler.large.yaml index 7176f3a2d3..b6c4178ee2 100644 --- a/ray-operator/config/samples/ray-cluster.autoscaler.large.yaml +++ b/ray-operator/config/samples/ray-cluster.autoscaler.large.yaml @@ -20,7 +20,7 @@ metadata: name: raycluster-autoscaler spec: # The version of Ray you are using. Make sure all Ray containers are running this version of Ray. - rayVersion: '2.9.0' + rayVersion: '2.34.0' # If enableInTreeAutoscaling is true, the autoscaler sidecar will be added to the Ray head pod. # Ray autoscaler integration is supported only for Ray versions >= 1.11.0 # Ray autoscaler integration is Beta with KubeRay >= 0.3.0 and Ray >= 2.0.0. @@ -72,7 +72,7 @@ spec: containers: # The Ray head container - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 # Optimal resource allocation will depend on your Kubernetes infrastructure and might # require some experimentation. # Setting requests=limits is recommended with Ray. K8s limits are used for Ray-internal @@ -127,7 +127,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 # Optimal resource allocation will depend on your Kubernetes infrastructure and might # require some experimentation. # Setting requests=limits is recommended with Ray. K8s limits are used for Ray-internal diff --git a/ray-operator/config/samples/ray-cluster.autoscaler.yaml b/ray-operator/config/samples/ray-cluster.autoscaler.yaml index 91332a84f5..c74f1750f0 100644 --- a/ray-operator/config/samples/ray-cluster.autoscaler.yaml +++ b/ray-operator/config/samples/ray-cluster.autoscaler.yaml @@ -4,7 +4,7 @@ metadata: name: raycluster-autoscaler spec: # The version of Ray you are using. Make sure all Ray containers are running this version of Ray. - rayVersion: '2.9.0' + rayVersion: '2.34.0' # If `enableInTreeAutoscaling` is true, the Autoscaler sidecar will be added to the Ray head pod. # Ray Autoscaler integration is Beta with KubeRay >= 0.3.0 and Ray >= 2.0.0. enableInTreeAutoscaling: true @@ -55,7 +55,7 @@ spec: containers: # The Ray head container - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs @@ -108,7 +108,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-cluster.complete.large.yaml b/ray-operator/config/samples/ray-cluster.complete.large.yaml index 7b79e98649..777394ade6 100644 --- a/ray-operator/config/samples/ray-cluster.complete.large.yaml +++ b/ray-operator/config/samples/ray-cluster.complete.large.yaml @@ -13,7 +13,7 @@ metadata: # A unique identifier for the head node and workers of this cluster. name: raycluster-complete spec: - rayVersion: '2.9.0' + rayVersion: '2.34.0' # Ray head pod template headGroupSpec: # Kubernetes Service Type. This is an optional field, and the default value is ClusterIP. @@ -33,7 +33,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 # Optimal resource allocation will depend on your Kubernetes infrastructure and might # require some experimentation. # Setting requests=limits is recommended with Ray. K8s limits are used for Ray-internal @@ -88,7 +88,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 # Optimal resource allocation will depend on your Kubernetes infrastructure and might # require some experimentation. # Setting requests=limits is recommended with Ray. K8s limits are used for Ray-internal diff --git a/ray-operator/config/samples/ray-cluster.complete.yaml b/ray-operator/config/samples/ray-cluster.complete.yaml index cce5c7a403..1f1e4ec4a4 100644 --- a/ray-operator/config/samples/ray-cluster.complete.yaml +++ b/ray-operator/config/samples/ray-cluster.complete.yaml @@ -10,7 +10,7 @@ metadata: # A unique identifier for the head node and workers of this cluster. name: raycluster-complete spec: - rayVersion: '2.9.0' + rayVersion: '2.34.0' # Ray head pod configuration headGroupSpec: # Kubernetes Service Type. This is an optional field, and the default value is ClusterIP. @@ -30,7 +30,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs @@ -91,7 +91,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-cluster.custom-head-service.yaml b/ray-operator/config/samples/ray-cluster.custom-head-service.yaml index 0b4a6fbcf1..baddb3b3ef 100644 --- a/ray-operator/config/samples/ray-cluster.custom-head-service.yaml +++ b/ray-operator/config/samples/ray-cluster.custom-head-service.yaml @@ -11,7 +11,7 @@ metadata: # A unique identifier for the head node and workers of this cluster. name: raycluster-custom-head-service.yaml spec: - rayVersion: '2.9.0' # should match the Ray version in the image of the containers + rayVersion: '2.34.0' # should match the Ray version in the image of the containers # Ray head pod template headGroupSpec: # the following params are used to complete the ray start: ray start --head --block --redis-port=6379 ... @@ -36,7 +36,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 1 diff --git a/ray-operator/config/samples/ray-cluster.embed-grafana.yaml b/ray-operator/config/samples/ray-cluster.embed-grafana.yaml index 345225e6a1..481b5a5387 100644 --- a/ray-operator/config/samples/ray-cluster.embed-grafana.yaml +++ b/ray-operator/config/samples/ray-cluster.embed-grafana.yaml @@ -18,7 +18,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs @@ -68,7 +68,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-cluster.external-redis-uri.yaml b/ray-operator/config/samples/ray-cluster.external-redis-uri.yaml index c9a0d2c4d8..63fe4aa019 100644 --- a/ray-operator/config/samples/ray-cluster.external-redis-uri.yaml +++ b/ray-operator/config/samples/ray-cluster.external-redis-uri.yaml @@ -84,7 +84,7 @@ metadata: # ray.io/external-storage-namespace: "my-raycluster-storage" name: raycluster-external-redis-uri spec: - rayVersion: '2.9.0' + rayVersion: '2.34.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. @@ -100,7 +100,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "1" @@ -158,7 +158,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 volumeMounts: - mountPath: /tmp/ray name: ray-logs diff --git a/ray-operator/config/samples/ray-cluster.external-redis.yaml b/ray-operator/config/samples/ray-cluster.external-redis.yaml index 6abdf547a0..08bf765b6b 100644 --- a/ray-operator/config/samples/ray-cluster.external-redis.yaml +++ b/ray-operator/config/samples/ray-cluster.external-redis.yaml @@ -84,7 +84,7 @@ metadata: # ray.io/external-storage-namespace: "my-raycluster-storage" name: raycluster-external-redis spec: - rayVersion: '2.9.0' + rayVersion: '2.34.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. @@ -100,7 +100,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "1" @@ -158,7 +158,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 volumeMounts: - mountPath: /tmp/ray name: ray-logs diff --git a/ray-operator/config/samples/ray-cluster.gke-bucket.yaml b/ray-operator/config/samples/ray-cluster.gke-bucket.yaml index 0c0d6caf33..489bfa7651 100644 --- a/ray-operator/config/samples/ray-cluster.gke-bucket.yaml +++ b/ray-operator/config/samples/ray-cluster.gke-bucket.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-mini spec: - rayVersion: '2.9.0' + rayVersion: '2.34.0' headGroupSpec: rayStartParams: dashboard-host: '0.0.0.0' @@ -14,7 +14,7 @@ spec: iam.gke.io/gke-metadata-server-enabled: "true" containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 1 diff --git a/ray-operator/config/samples/ray-cluster.head-command.yaml b/ray-operator/config/samples/ray-cluster.head-command.yaml index 821c4b94fe..79977ba749 100644 --- a/ray-operator/config/samples/ray-cluster.head-command.yaml +++ b/ray-operator/config/samples/ray-cluster.head-command.yaml @@ -5,7 +5,7 @@ kind: RayCluster metadata: name: raycluster-head-command spec: - rayVersion: '2.9.0' # should match the Ray version in the image of the containers + rayVersion: '2.34.0' # should match the Ray version in the image of the containers # Ray head pod template headGroupSpec: # The `rayStartParams` are used to configure the `ray start` command. @@ -17,7 +17,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 1 diff --git a/ray-operator/config/samples/ray-cluster.heterogeneous.yaml b/ray-operator/config/samples/ray-cluster.heterogeneous.yaml index 89d4403778..f996cf202c 100644 --- a/ray-operator/config/samples/ray-cluster.heterogeneous.yaml +++ b/ray-operator/config/samples/ray-cluster.heterogeneous.yaml @@ -34,7 +34,7 @@ metadata: # A unique identifier for the head node and workers of this cluster. name: raycluster-heterogeneous spec: - rayVersion: '2.9.0' + rayVersion: '2.34.0' ######################headGroupSpecs################################# # Ray head pod template headGroupSpec: @@ -48,7 +48,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "1" @@ -87,7 +87,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.34.0 volumeMounts: - mountPath: /tmp/ray name: ray-logs @@ -123,7 +123,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.34.0 # use volumeMounts.Optional. # Refer to https://kubernetes.io/docs/concepts/storage/volumes/ volumeMounts: diff --git a/ray-operator/config/samples/ray-cluster.overwrite-command.yaml b/ray-operator/config/samples/ray-cluster.overwrite-command.yaml index 3e49413b19..5d397802da 100644 --- a/ray-operator/config/samples/ray-cluster.overwrite-command.yaml +++ b/ray-operator/config/samples/ray-cluster.overwrite-command.yaml @@ -7,7 +7,7 @@ metadata: ray.io/overwrite-container-cmd: "true" name: raycluster-overwrite-cmd spec: - rayVersion: '2.9.0' # should match the Ray version in the image of the containers + rayVersion: '2.34.0' # should match the Ray version in the image of the containers # Ray head Pod template headGroupSpec: rayStartParams: {} @@ -16,7 +16,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 1 @@ -50,7 +50,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "1" diff --git a/ray-operator/config/samples/ray-cluster.py-spy.yaml b/ray-operator/config/samples/ray-cluster.py-spy.yaml index 338c180d63..41bdd74f11 100644 --- a/ray-operator/config/samples/ray-cluster.py-spy.yaml +++ b/ray-operator/config/samples/ray-cluster.py-spy.yaml @@ -13,7 +13,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.5.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 1 diff --git a/ray-operator/config/samples/ray-cluster.sample.yaml b/ray-operator/config/samples/ray-cluster.sample.yaml index 1312f68d62..9c817fb11f 100644 --- a/ray-operator/config/samples/ray-cluster.sample.yaml +++ b/ray-operator/config/samples/ray-cluster.sample.yaml @@ -7,7 +7,7 @@ kind: RayCluster metadata: name: raycluster-sample spec: - rayVersion: '2.9.0' # should match the Ray version in the image of the containers + rayVersion: '2.34.0' # should match the Ray version in the image of the containers # Ray head pod template headGroupSpec: rayStartParams: {} @@ -16,7 +16,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 1 @@ -44,7 +44,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.34.0 resources: limits: cpu: 1 diff --git a/ray-operator/config/samples/ray-cluster.separate-ingress.yaml b/ray-operator/config/samples/ray-cluster.separate-ingress.yaml index 6cda8c4a5c..c6f5e46790 100644 --- a/ray-operator/config/samples/ray-cluster.separate-ingress.yaml +++ b/ray-operator/config/samples/ray-cluster.separate-ingress.yaml @@ -7,7 +7,7 @@ kind: RayCluster metadata: name: raycluster-ingress spec: - rayVersion: '2.9.0' # should match the Ray version in the image of the containers + rayVersion: '2.34.0' # should match the Ray version in the image of the containers headGroupSpec: serviceType: NodePort # The `rayStartParams` are used to configure the `ray start` command. @@ -20,7 +20,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "1" diff --git a/ray-operator/config/samples/ray-cluster.tls.yaml b/ray-operator/config/samples/ray-cluster.tls.yaml index 8c22beb34c..2e14595339 100644 --- a/ray-operator/config/samples/ray-cluster.tls.yaml +++ b/ray-operator/config/samples/ray-cluster.tls.yaml @@ -5,7 +5,7 @@ metadata: controller-tools.k8s.io: "1.0" name: raycluster-tls spec: - rayVersion: '2.9.0' + rayVersion: '2.34.0' # Note: Uncomment the `enableInTreeAutoscaling` and `autoscalerOptions` # if you wish to configure TLS for the autoscaler. @@ -54,7 +54,7 @@ spec: initContainers: # Generate head's private key and certificate before `ray start`. - name: ray-head-tls - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 command: ["/bin/sh", "-c", "cp -R /etc/ca/tls /etc/ray && /etc/gen/tls/gencert_head.sh"] volumeMounts: - mountPath: /etc/ca/tls @@ -71,7 +71,7 @@ spec: fieldPath: status.podIP containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs @@ -142,7 +142,7 @@ spec: initContainers: # Generate worker's private key and certificate before `ray start`. - name: ray-worker-tls - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 command: ["/bin/sh", "-c", "cp -R /etc/ca/tls /etc/ray && /etc/gen/tls/gencert_worker.sh"] volumeMounts: - mountPath: /etc/ca/tls @@ -159,7 +159,7 @@ spec: fieldPath: status.podIP containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-cluster.tpu-v4-multihost.yaml b/ray-operator/config/samples/ray-cluster.tpu-v4-multihost.yaml index 6bb9ce8cb8..829217b300 100644 --- a/ray-operator/config/samples/ray-cluster.tpu-v4-multihost.yaml +++ b/ray-operator/config/samples/ray-cluster.tpu-v4-multihost.yaml @@ -21,7 +21,7 @@ spec: - mountPath: /tmp/ray name: ray-logs name: ray-head - image: rayproject/ray:2.9.0-py310 + image: rayproject/ray:2.34.0-py310 imagePullPolicy: IfNotPresent resources: limits: @@ -82,7 +82,7 @@ spec: - mountPath: /tmp/ray name: ray-logs name: ray-worker - image: rayproject/ray:2.9.0-py310 + image: rayproject/ray:2.34.0-py310 imagePullPolicy: IfNotPresent resources: limits: diff --git a/ray-operator/config/samples/ray-cluster.tpu-v4-singlehost.yaml b/ray-operator/config/samples/ray-cluster.tpu-v4-singlehost.yaml index 7539d07893..07e40720c3 100644 --- a/ray-operator/config/samples/ray-cluster.tpu-v4-singlehost.yaml +++ b/ray-operator/config/samples/ray-cluster.tpu-v4-singlehost.yaml @@ -21,7 +21,7 @@ spec: - mountPath: /tmp/ray name: ray-logs name: ray-head - image: rayproject/ray:2.9.0-py310 + image: rayproject/ray:2.34.0-py310 imagePullPolicy: IfNotPresent resources: limits: @@ -78,7 +78,7 @@ spec: - mountPath: /tmp/ray name: ray-logs name: ray-worker - image: rayproject/ray:2.9.0-py310 + image: rayproject/ray:2.34.0-py310 imagePullPolicy: IfNotPresent resources: limits: diff --git a/ray-operator/config/samples/ray-cluster.volcano-scheduler-queue.yaml b/ray-operator/config/samples/ray-cluster.volcano-scheduler-queue.yaml index 35438b7581..5f30097fd1 100644 --- a/ray-operator/config/samples/ray-cluster.volcano-scheduler-queue.yaml +++ b/ray-operator/config/samples/ray-cluster.volcano-scheduler-queue.yaml @@ -6,14 +6,14 @@ metadata: ray.io/scheduler-name: volcano volcano.sh/queue-name: kuberay-test-queue spec: - rayVersion: '2.9.0' + rayVersion: '2.34.0' headGroupSpec: rayStartParams: {} template: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "1" @@ -31,7 +31,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "1" diff --git a/ray-operator/config/samples/ray-cluster.volcano-scheduler.yaml b/ray-operator/config/samples/ray-cluster.volcano-scheduler.yaml index cffa81b2f2..cb959c85ad 100644 --- a/ray-operator/config/samples/ray-cluster.volcano-scheduler.yaml +++ b/ray-operator/config/samples/ray-cluster.volcano-scheduler.yaml @@ -5,14 +5,14 @@ metadata: labels: ray.io/scheduler-name: volcano spec: - rayVersion: '2.9.0' + rayVersion: '2.34.0' headGroupSpec: rayStartParams: {} template: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "1" diff --git a/ray-operator/config/samples/ray-data-image-resize/ray-job.image-resize.yaml b/ray-operator/config/samples/ray-data-image-resize/ray-job.image-resize.yaml index 84d2e95470..2abdd1f1da 100644 --- a/ray-operator/config/samples/ray-data-image-resize/ray-job.image-resize.yaml +++ b/ray-operator/config/samples/ray-data-image-resize/ray-job.image-resize.yaml @@ -17,7 +17,7 @@ spec: BUCKET_PREFIX: images # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.9.0' + rayVersion: '2.34.0' headGroupSpec: rayStartParams: {} # Pod template @@ -25,7 +25,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs-server @@ -51,7 +51,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "2" diff --git a/ray-operator/config/samples/ray-job.custom-head-svc.yaml b/ray-operator/config/samples/ray-job.custom-head-svc.yaml index 0d28eb7b61..cb35722a32 100644 --- a/ray-operator/config/samples/ray-job.custom-head-svc.yaml +++ b/ray-operator/config/samples/ray-job.custom-head-svc.yaml @@ -20,7 +20,7 @@ spec: # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.9.0' # should match the Ray version in the image of the containers + rayVersion: '2.34.0' # should match the Ray version in the image of the containers # Ray head pod template headGroupSpec: headService: @@ -36,7 +36,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs-server @@ -75,7 +75,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.34.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-job.kueue-toy-sample.yaml b/ray-operator/config/samples/ray-job.kueue-toy-sample.yaml index 9fba14a76c..567214cfb1 100644 --- a/ray-operator/config/samples/ray-job.kueue-toy-sample.yaml +++ b/ray-operator/config/samples/ray-job.kueue-toy-sample.yaml @@ -26,14 +26,14 @@ spec: # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.9.0' + rayVersion: '2.34.0' headGroupSpec: rayStartParams: {} template: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs-server @@ -58,7 +58,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: "1" diff --git a/ray-operator/config/samples/ray-job.modin.yaml b/ray-operator/config/samples/ray-job.modin.yaml index cbb11caf99..022978c998 100644 --- a/ray-operator/config/samples/ray-job.modin.yaml +++ b/ray-operator/config/samples/ray-job.modin.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.31.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs-server diff --git a/ray-operator/config/samples/ray-job.resources.yaml b/ray-operator/config/samples/ray-job.resources.yaml index b10f3cb880..d42a182825 100644 --- a/ray-operator/config/samples/ray-job.resources.yaml +++ b/ray-operator/config/samples/ray-job.resources.yaml @@ -47,7 +47,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.5.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs-server @@ -87,7 +87,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.5.0 + image: rayproject/ray:2.34.0 lifecycle: preStop: exec: @@ -102,7 +102,7 @@ spec: # restartPolicy: Never # containers: # - name: my-custom-rayjob-submitter-pod - # image: rayproject/ray:2.5.0 + # image: rayproject/ray:2.34.0 # # If Command is not specified, the correct command will be supplied at runtime using the RayJob spec `entrypoint` field. # # Specifying Command is not recommended. # # command: ["ray job submit --address=http://rayjob-sample-raycluster-v6qcq-head-svc.default.svc.cluster.local:8265 -- echo hello world"] diff --git a/ray-operator/config/samples/ray-job.sample.yaml b/ray-operator/config/samples/ray-job.sample.yaml index 96af157ef8..74a23ca943 100644 --- a/ray-operator/config/samples/ray-job.sample.yaml +++ b/ray-operator/config/samples/ray-job.sample.yaml @@ -35,7 +35,7 @@ spec: # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.9.0' # should match the Ray version in the image of the containers + rayVersion: '2.34.0' # should match the Ray version in the image of the containers # Ray head pod template headGroupSpec: # The `rayStartParams` are used to configure the `ray start` command. @@ -48,7 +48,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs-server @@ -90,7 +90,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.34.0 lifecycle: preStop: exec: @@ -107,7 +107,7 @@ spec: # restartPolicy: Never # containers: # - name: my-custom-rayjob-submitter-pod - # image: rayproject/ray:2.9.0 + # image: rayproject/ray:2.34.0 # # If Command is not specified, the correct command will be supplied at runtime using the RayJob spec `entrypoint` field. # # Specifying Command is not recommended. # # command: ["sh", "-c", "ray job submit --address=http://$RAY_DASHBOARD_ADDRESS --submission-id=$RAY_JOB_SUBMISSION_ID -- echo hello world"] diff --git a/ray-operator/config/samples/ray-job.shutdown.yaml b/ray-operator/config/samples/ray-job.shutdown.yaml index 1b8ccf71df..f5bf5a2623 100644 --- a/ray-operator/config/samples/ray-job.shutdown.yaml +++ b/ray-operator/config/samples/ray-job.shutdown.yaml @@ -28,7 +28,7 @@ spec: # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.9.0' # should match the Ray version in the image of the containers + rayVersion: '2.34.0' # should match the Ray version in the image of the containers # Ray head pod template headGroupSpec: # The `rayStartParams` are used to configure the `ray start` command. @@ -41,7 +41,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 ports: - containerPort: 6379 name: gcs-server @@ -83,7 +83,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.34.0 lifecycle: preStop: exec: @@ -100,7 +100,7 @@ spec: # restartPolicy: Never # containers: # - name: my-custom-rayjob-submitter-pod - # image: rayproject/ray:2.9.0 + # image: rayproject/ray:2.34.0 # # If Command is not specified, the correct command will be supplied at runtime using the RayJob spec `entrypoint` field. # # Specifying Command is not recommended. # # command: ["ray job submit --address=http://rayjob-sample-raycluster-v6qcq-head-svc.default.svc.cluster.local:8265 -- echo hello world"] diff --git a/ray-operator/config/samples/ray-pod.tls.yaml b/ray-operator/config/samples/ray-pod.tls.yaml index c1973a385c..599eab03ef 100644 --- a/ray-operator/config/samples/ray-pod.tls.yaml +++ b/ray-operator/config/samples/ray-pod.tls.yaml @@ -6,7 +6,7 @@ metadata: spec: containers: - name: client - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 args: [/bin/sh, -c, 'python -c "import ray; ray.init(\"ray://$FQ_RAY_IP:10001\"); print(ray.cluster_resources())" && sleep infinity'] env: - name: RAY_USE_TLS @@ -30,7 +30,7 @@ spec: name: gen-tls-script initContainers: - name: gen-cert - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 args: ["/bin/sh", "-c", "cp -R /etc/ca/tls /etc/ray && /etc/gen/tls/gencert_worker.sh"] volumeMounts: - mountPath: /etc/ca/tls diff --git a/ray-operator/config/samples/ray-service.autoscaler.yaml b/ray-operator/config/samples/ray-service.autoscaler.yaml index 3d3aee5d20..4d02b35552 100644 --- a/ray-operator/config/samples/ray-service.autoscaler.yaml +++ b/ray-operator/config/samples/ray-service.autoscaler.yaml @@ -21,6 +21,7 @@ spec: working_dir: "https://github.com/ray-project/test_dag/archive/59c994656f55ff8e0e642efe63f380debc831931.zip" deployments: - name: Blocked + max_ongoing_requests: 1000 autoscaling_config: metrics_interval_s: 0.2 min_replicas: 1 @@ -28,18 +29,20 @@ spec: look_back_period_s: 2 downscale_delay_s: 5 upscale_delay_s: 2 - target_num_ongoing_requests_per_replica: 1 + target_ongoing_requests: 1 graceful_shutdown_timeout_s: 5 - max_concurrent_queries: 1000 ray_actor_options: num_cpus: 0.5 - name: signal import_path: autoscaling.signaling:app route_prefix: /signal + deployments: + - name: SignalDeployment + max_ongoing_requests: 1000 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.34.0' # should match the Ray version in the image of the containers ## raycluster autoscaling config enableInTreeAutoscaling: true autoscalerOptions: @@ -63,7 +66,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 2 @@ -96,7 +99,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.34.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-service.custom-serve-service.yaml b/ray-operator/config/samples/ray-service.custom-serve-service.yaml index 649cf6e961..09dbbb84ca 100644 --- a/ray-operator/config/samples/ray-service.custom-serve-service.yaml +++ b/ray-operator/config/samples/ray-service.custom-serve-service.yaml @@ -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.34.0' # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -62,7 +62,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 2 @@ -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.34.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-service.different-port.yaml b/ray-operator/config/samples/ray-service.different-port.yaml index 340b9b3a8d..f64e60535b 100644 --- a/ray-operator/config/samples/ray-service.different-port.yaml +++ b/ray-operator/config/samples/ray-service.different-port.yaml @@ -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.34.0' # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -52,7 +52,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 2 @@ -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.34.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-service.high-availability-locust.yaml b/ray-operator/config/samples/ray-service.high-availability-locust.yaml index 0d83d130d2..a9b0f163f7 100644 --- a/ray-operator/config/samples/ray-service.high-availability-locust.yaml +++ b/ray-operator/config/samples/ray-service.high-availability-locust.yaml @@ -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.34.0' # should match the Ray version in the image of the containers enableInTreeAutoscaling: true autoscalerOptions: idleTimeoutSeconds: 1 @@ -45,7 +45,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 2 @@ -77,7 +77,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.34.0 lifecycle: preStop: exec: @@ -97,7 +97,7 @@ metadata: controller-tools.k8s.io: "1.0" name: locust-cluster spec: - rayVersion: '2.9.0' + rayVersion: '2.34.0' headGroupSpec: rayStartParams: dashboard-host: '0.0.0.0' @@ -105,7 +105,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 3 diff --git a/ray-operator/config/samples/ray-service.high-availability.yaml b/ray-operator/config/samples/ray-service.high-availability.yaml index a3d4cffbf3..ba56e8f51a 100644 --- a/ray-operator/config/samples/ray-service.high-availability.yaml +++ b/ray-operator/config/samples/ray-service.high-availability.yaml @@ -119,7 +119,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.34.0' # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -131,7 +131,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 env: - name: RAY_REDIS_ADDRESS value: redis:6379 @@ -173,7 +173,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.34.0 lifecycle: preStop: exec: @@ -217,7 +217,7 @@ metadata: spec: containers: - name: ray-container - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 command: ["/bin/bash", "-c", "--"] args: ["while true; do sleep 30; done;"] volumeMounts: diff --git a/ray-operator/config/samples/ray-service.sample.yaml b/ray-operator/config/samples/ray-service.sample.yaml index a61bfc0f8e..3b92c1a875 100644 --- a/ray-operator/config/samples/ray-service.sample.yaml +++ b/ray-operator/config/samples/ray-service.sample.yaml @@ -14,7 +14,7 @@ spec: import_path: fruit.deployment_graph route_prefix: /fruit runtime_env: - working_dir: "https://github.com/ray-project/test_dag/archive/78b4a5da38796123d9f9ffff59bab2792a043e95.zip" + working_dir: "https://github.com/ray-project/test_dag/archive/4d2c9a59d9eabfd4c8a9e04a7aae44fc8f5b416f.zip" deployments: - name: MangoStand num_replicas: 2 @@ -60,7 +60,7 @@ spec: - name: Router num_replicas: 1 rayClusterConfig: - rayVersion: '2.9.0' # should match the Ray version in the image of the containers + rayVersion: '2.34.0' # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -74,7 +74,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 2 @@ -107,7 +107,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.34.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-service.text-ml.yaml b/ray-operator/config/samples/ray-service.text-ml.yaml index 8b04d16398..3a7adec31b 100644 --- a/ray-operator/config/samples/ray-service.text-ml.yaml +++ b/ray-operator/config/samples/ray-service.text-ml.yaml @@ -30,7 +30,7 @@ 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.34.0' # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -44,7 +44,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0 + image: rayproject/ray:2.34.0 resources: limits: cpu: 2 @@ -77,7 +77,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.34.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-service.tpu-single-host.yaml b/ray-operator/config/samples/ray-service.tpu-single-host.yaml index d7f441c293..0df3d77f6b 100644 --- a/ray-operator/config/samples/ray-service.tpu-single-host.yaml +++ b/ray-operator/config/samples/ray-service.tpu-single-host.yaml @@ -21,7 +21,7 @@ spec: - -f https://storage.googleapis.com/jax-releases/libtpu_releases.html - fastapi rayClusterConfig: - rayVersion: '2.9.0' # Should match the Ray version in the image of the containers + rayVersion: '2.34.0' # Should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -34,7 +34,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.9.0-py310 + image: rayproject/ray:2.34.0-py310 ports: - containerPort: 6379 name: gcs @@ -64,7 +64,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.9.0-py310 + image: rayproject/ray:2.34.0-py310 resources: limits: # ct4p-hightpu-4t (v4) TPUs have 240 vCPUs, adjust this value based on your resource needs diff --git a/ray-operator/config/security/ray-cluster.pod-security.yaml b/ray-operator/config/security/ray-cluster.pod-security.yaml index 1427733848..8e1275f0e9 100644 --- a/ray-operator/config/security/ray-cluster.pod-security.yaml +++ b/ray-operator/config/security/ray-cluster.pod-security.yaml @@ -21,7 +21,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray-ml:2.4.0 + image: rayproject/ray-ml:2.9.0 ports: - containerPort: 6379 name: gcs @@ -85,7 +85,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray-ml:2.4.0 + image: rayproject/ray-ml:2.9.0 # environment variables to set in the container.Optional. # Refer to https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/ lifecycle: diff --git a/ray-operator/controllers/ray/raycluster_controller_test.go b/ray-operator/controllers/ray/raycluster_controller_test.go index 21ab57db76..9699ef149a 100644 --- a/ray-operator/controllers/ray/raycluster_controller_test.go +++ b/ray-operator/controllers/ray/raycluster_controller_test.go @@ -58,7 +58,7 @@ func rayClusterTemplate(name string, namespace string) *rayv1.RayCluster { Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", }, }, }, @@ -76,7 +76,7 @@ func rayClusterTemplate(name string, namespace string) *rayv1.RayCluster { Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", }, }, }, diff --git a/ray-operator/controllers/ray/raycluster_controller_unit_test.go b/ray-operator/controllers/ray/raycluster_controller_unit_test.go index b3f53e582a..a944f4ac6e 100644 --- a/ray-operator/controllers/ray/raycluster_controller_unit_test.go +++ b/ray-operator/controllers/ray/raycluster_controller_unit_test.go @@ -223,7 +223,7 @@ func setupTest(t *testing.T) { Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, }, @@ -253,7 +253,7 @@ func setupTest(t *testing.T) { Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, }, @@ -308,7 +308,7 @@ func setupTest(t *testing.T) { Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Command: []string{"python"}, Args: []string{"/opt/code.py"}, Env: []corev1.EnvVar{ @@ -342,7 +342,7 @@ func setupTest(t *testing.T) { Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, Env: []corev1.EnvVar{ diff --git a/ray-operator/controllers/ray/rayjob_controller_test.go b/ray-operator/controllers/ray/rayjob_controller_test.go index bfb2f0ce4c..e6f44a5bc8 100644 --- a/ray-operator/controllers/ray/rayjob_controller_test.go +++ b/ray-operator/controllers/ray/rayjob_controller_test.go @@ -50,7 +50,7 @@ func rayJobTemplate(name string, namespace string) *rayv1.RayJob { SubmissionMode: rayv1.K8sJobMode, ShutdownAfterJobFinishes: true, RayClusterSpec: &rayv1.RayClusterSpec{ - RayVersion: "2.9.0", + RayVersion: "2.34.0", HeadGroupSpec: rayv1.HeadGroupSpec{ RayStartParams: map[string]string{}, Template: corev1.PodTemplateSpec{ @@ -58,7 +58,7 @@ func rayJobTemplate(name string, namespace string) *rayv1.RayJob { Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Resources: corev1.ResourceRequirements{ Limits: corev1.ResourceList{ corev1.ResourceCPU: resource.MustParse("1"), @@ -100,7 +100,7 @@ func rayJobTemplate(name string, namespace string) *rayv1.RayJob { Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", }, }, }, diff --git a/ray-operator/controllers/ray/rayservice_controller_test.go b/ray-operator/controllers/ray/rayservice_controller_test.go index d667501e72..cdc064780d 100644 --- a/ray-operator/controllers/ray/rayservice_controller_test.go +++ b/ray-operator/controllers/ray/rayservice_controller_test.go @@ -81,7 +81,7 @@ var _ = Context("Inside the default namespace", func() { Spec: rayv1.RayServiceSpec{ ServeConfigV2: testServeConfigV2, RayClusterSpec: rayv1.RayClusterSpec{ - RayVersion: "2.9.0", + RayVersion: "2.34.0", HeadGroupSpec: rayv1.HeadGroupSpec{ RayStartParams: map[string]string{ "port": "6379", @@ -104,7 +104,7 @@ var _ = Context("Inside the default namespace", func() { Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Env: []corev1.EnvVar{ { Name: "MY_POD_IP", @@ -178,7 +178,7 @@ var _ = Context("Inside the default namespace", func() { Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.9.0", + Image: "rayproject/ray:2.34.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, Env: []corev1.EnvVar{ diff --git a/ray-operator/controllers/ray/rayservice_controller_unit_test.go b/ray-operator/controllers/ray/rayservice_controller_unit_test.go index 916a1c9bad..3ca8cf88de 100644 --- a/ray-operator/controllers/ray/rayservice_controller_unit_test.go +++ b/ray-operator/controllers/ray/rayservice_controller_unit_test.go @@ -30,7 +30,7 @@ func TestGenerateHashWithoutReplicasAndWorkersToDelete(t *testing.T) { // `hash2` in this case. cluster := rayv1.RayCluster{ Spec: rayv1.RayClusterSpec{ - RayVersion: "2.9.0", + RayVersion: "2.34.0", WorkerGroupSpecs: []rayv1.WorkerGroupSpec{ { Template: corev1.PodTemplateSpec{ @@ -61,7 +61,7 @@ func TestGenerateHashWithoutReplicasAndWorkersToDelete(t *testing.T) { func TestGetClusterAction(t *testing.T) { clusterSpec1 := rayv1.RayClusterSpec{ - RayVersion: "2.9.0", + RayVersion: "2.34.0", WorkerGroupSpecs: []rayv1.WorkerGroupSpec{ { Replicas: ptr.To[int32](2), diff --git a/ray-operator/test/e2e/rayservice_ha_test.go b/ray-operator/test/e2e/rayservice_ha_test.go index 03c184f2f5..ac09ad67c3 100644 --- a/ray-operator/test/e2e/rayservice_ha_test.go +++ b/ray-operator/test/e2e/rayservice_ha_test.go @@ -38,7 +38,7 @@ applications: 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 num_replicas: 2 diff --git a/ray-operator/test/support/defaults.go b/ray-operator/test/support/defaults.go index b5ee1ca627..04243e03df 100644 --- a/ray-operator/test/support/defaults.go +++ b/ray-operator/test/support/defaults.go @@ -1,6 +1,6 @@ package support const ( - RayVersion = "2.9.0" - RayImage = "rayproject/ray:2.9.0" + RayVersion = "2.34.0" + RayImage = "rayproject/ray:2.34.0" ) diff --git a/tests/compatibility-test.py b/tests/compatibility-test.py index dd53d95038..400c46df50 100755 --- a/tests/compatibility-test.py +++ b/tests/compatibility-test.py @@ -30,7 +30,7 @@ ) # parse global variables from env -ray_image = os.getenv('RAY_IMAGE', 'rayproject/ray:2.9.0') +ray_image = os.getenv('RAY_IMAGE', 'rayproject/ray:2.34.0') ray_version = ray_image.split(':')[-1] kuberay_operator_image = os.getenv('OPERATOR_IMAGE') diff --git a/tests/test_sample_rayservice_yamls.py b/tests/test_sample_rayservice_yamls.py index 1eb5df2b69..cb08d84e0b 100644 --- a/tests/test_sample_rayservice_yamls.py +++ b/tests/test_sample_rayservice_yamls.py @@ -285,6 +285,7 @@ def test_zero_downtime_rollout(self, set_up_cluster): for cr_event in cr_events: cr_event.trigger() + class TestRayServiceAutoscaling: """Test RayService autoscaling""" @pytest.fixture