From 8c7274a400fa26b3a61b0e1111cef6f54b08007c Mon Sep 17 00:00:00 2001 From: kaihsun Date: Wed, 22 Nov 2023 22:31:15 +0000 Subject: [PATCH 1/2] post 2.8 --- .buildkite/test-sample-yamls.yml | 12 +-- .github/workflows/test-job.yaml | 20 ++++ apiserver/CreatingServe.md | 4 +- apiserver/DEVELOPMENT.md | 2 +- apiserver/HACluster.md | 6 +- apiserver/JobSubmission.md | 4 +- apiserver/Makefile | 4 +- apiserver/README.md | 102 +++++++++--------- apiserver/test/cluster/cluster/cluster | 4 +- .../test/cluster/cluster_external_redis.yaml | 6 +- apiserver/test/e2e/cluster_server_e2e_test.go | 20 ++-- apiserver/test/e2e/types.go | 2 +- .../api_params_test.py | 2 +- .../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 | 12 +-- 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 +- .../config/samples/ray-cluster-tpu.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 +- .../config/samples/ray-cluster.mini.yaml | 4 +- .../samples/ray-cluster.separate-ingress.yaml | 4 +- .../config/samples/ray-cluster.tls.yaml | 10 +- .../ray-cluster.volcano-scheduler-queue.yaml | 6 +- .../ray-cluster.volcano-scheduler.yaml | 4 +- .../samples/ray-job.batch-inference.yaml | 4 +- .../samples/ray-job.custom-head-svc.yaml | 6 +- ray-operator/config/samples/ray-pod.tls.yaml | 4 +- .../samples/ray-service.autoscaler.yaml | 6 +- .../ray-service.custom-serve-service.yaml | 6 +- .../samples/ray-service.different-port.yaml | 6 +- .../ray-service.high-availability.yaml | 8 +- .../config/samples/ray-service.mobilenet.yaml | 6 +- .../samples/ray-service.stable-diffusion.yaml | 6 +- .../config/samples/ray-service.text-ml.yaml | 6 +- .../samples/ray-service.text-summarizer.yaml | 6 +- .../samples/ray_v1alpha1_rayjob.shutdown.yaml | 8 +- .../config/samples/ray_v1alpha1_rayjob.yaml | 8 +- .../samples/ray_v1alpha1_rayservice.yaml | 6 +- .../ray/raycluster_controller_fake_test.go | 8 +- .../ray/raycluster_controller_test.go | 4 +- .../ray/rayjob_controller_suspended_test.go | 2 +- .../controllers/ray/rayjob_controller_test.go | 4 +- .../ray/rayservice_controller_test.go | 4 +- .../ray/rayservice_controller_unit_test.go | 4 +- ray-operator/test/support/defaults.go | 4 +- tests/compatibility-test.py | 2 +- tests/framework/utils.py | 2 +- tests/test_security.py | 2 +- 66 files changed, 261 insertions(+), 241 deletions(-) diff --git a/.buildkite/test-sample-yamls.yml b/.buildkite/test-sample-yamls.yml index 9e15c5c82f..738dfdf147 100644 --- a/.buildkite/test-sample-yamls.yml +++ b/.buildkite/test-sample-yamls.yml @@ -10,7 +10,7 @@ - IMG=kuberay/operator:nightly make docker-image - popd # Use nightly KubeRay operator image - - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.7.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_raycluster_yamls.py + - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_raycluster_yamls.py - label: 'Test RayCluster Sample YAMLs (latest release)' instance_size: large @@ -18,7 +18,7 @@ commands: - ./.buildkite/setup-env.sh # Use KubeRay operator image from the latest release - - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.7.0 OPERATOR_IMAGE=kuberay/operator:v1.0.0 python3 tests/test_sample_raycluster_yamls.py + - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:v1.0.0 python3 tests/test_sample_raycluster_yamls.py - label: 'Test RayJob Sample YAMLs (nightly operator)' instance_size: large @@ -30,7 +30,7 @@ - IMG=kuberay/operator:nightly make docker-image - popd # Use nightly KubeRay operator image - - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.7.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayjob_yamls.py + - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayjob_yamls.py - label: 'Test RayJob Sample YAMLs (latest release)' instance_size: large @@ -38,7 +38,7 @@ commands: - ./.buildkite/setup-env.sh # Use KubeRay operator image from the latest release - - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.7.0 OPERATOR_IMAGE=kuberay/operator:v1.0.0 python3 tests/test_sample_rayjob_yamls.py + - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:v1.0.0 python3 tests/test_sample_rayjob_yamls.py - label: 'Test RayService Sample YAMLs (nightly operator)' instance_size: large @@ -50,7 +50,7 @@ - IMG=kuberay/operator:nightly make docker-image - popd # Use nightly KubeRay operator image - - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.7.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayservice_yamls.py + - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayservice_yamls.py - label: 'Test RayService Sample YAMLs (latest release)' instance_size: large @@ -58,4 +58,4 @@ commands: - ./.buildkite/setup-env.sh # Use KubeRay operator image from the latest release - - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.7.0 OPERATOR_IMAGE=kuberay/operator:v1.0.0 python3 tests/test_sample_rayservice_yamls.py + - source .venv/bin/activate && BUILDKITE_ENV=true RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:v1.0.0 python3 tests/test_sample_rayservice_yamls.py diff --git a/.github/workflows/test-job.yaml b/.github/workflows/test-job.yaml index 381f34f074..2ede9d4148 100644 --- a/.github/workflows/test-job.yaml +++ b/.github/workflows/test-job.yaml @@ -387,6 +387,26 @@ jobs: with: ray_version: 2.7.0 + test-compatibility-2_8_0: + needs: + - build_operator + - build_apiserver + - lint + runs-on: ubuntu-latest + name: Compatibility Test - 2.8.0 + steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v2 + with: + # When checking out the repository that + # triggered a workflow, this defaults to the reference or SHA for that event. + # Default value should work for both pull_request and merge(push) event. + ref: ${{github.event.pull_request.head.sha}} + + - uses: ./.github/workflows/actions/compatibility + with: + ray_version: 2.8.0 + test-compatibility-nightly: needs: - build_operator diff --git a/apiserver/CreatingServe.md b/apiserver/CreatingServe.md index 896dde128a..946d52fd4b 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.7.0-py310", + "image": "rayproject/ray:2.8.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.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, diff --git a/apiserver/DEVELOPMENT.md b/apiserver/DEVELOPMENT.md index 02dbd1de4a..735248fe83 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.7.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.8.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 b81d5a13fa..b6769b8000 100644 --- a/apiserver/HACluster.md +++ b/apiserver/HACluster.md @@ -58,7 +58,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/clusters' \ "name": "ha-cluster", "namespace": "default", "user": "boris", - "version": "2.7.0", + "version": "2.8.0", "environment": "DEV", "annotations" : { "ray.io/ft-enabled": "true" @@ -66,7 +66,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/clusters' \ "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -103,7 +103,7 @@ curl -X POST 'localhost:8888/apis/v1/namespaces/default/clusters' \ { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, diff --git a/apiserver/JobSubmission.md b/apiserver/JobSubmission.md index 2af54b6f85..51b0839897 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.7.0-py310", + "image": "rayproject/ray:2.8.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.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, diff --git a/apiserver/Makefile b/apiserver/Makefile index 09fba4adb2..ea31526bcb 100644 --- a/apiserver/Makefile +++ b/apiserver/Makefile @@ -12,9 +12,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.7.0-py310-aarch64 +E2E_API_SERVER_RAY_IMAGE ?=rayproject/ray:2.8.0-py310-aarch64 else -E2E_API_SERVER_RAY_IMAGE ?=rayproject/ray:2.7.0-py310 +E2E_API_SERVER_RAY_IMAGE ?=rayproject/ray:2.8.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 00106342ac..08e5606010 100644 --- a/apiserver/README.md +++ b/apiserver/README.md @@ -191,7 +191,7 @@ The following steps allow you to validate that the KubeRay API Server components * The following examples use the `ray-system` namespace. If not already created by using the helm install steps above, you can create it prior to executing the curl examples by running `kubectl create namespace ray-system` * The examples assume that the cluster has at least 2 CPUs available and 4 GB of free memory. You can either increase the CPUs available to your cluster (docker settings) or reduce the CPU request in the `compute_templates` request. - * If you are running the service and the kuberay operator on Apple Silicon Machine, you might want to use the `rayproject/ray:2.7.0-aarch64`image. + * If you are running the service and the kuberay operator on Apple Silicon Machine, you might want to use the `rayproject/ray:2.8.0-aarch64`image. ```sh # Create a template @@ -253,7 +253,7 @@ The following steps allow you to validate that the KubeRay API Server components "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -265,7 +265,7 @@ The following steps allow you to validate that the KubeRay API Server components { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, @@ -472,12 +472,12 @@ Examples: (please make sure that template `default-template` is created before r "name": "test-cluster", "namespace": "ray-system", "user": "3cpo", - "version": "2.7.0", + "version": "2.8.0", "environment": "DEV", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -489,7 +489,7 @@ Examples: (please make sure that template `default-template` is created before r { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -509,11 +509,11 @@ Examples: (please make sure that template `default-template` is created before r "name": "test-cluster", "namespace": "ray-system", "user": "3cpo", - "version": "2.7.0", + "version": "2.8.0", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -524,7 +524,7 @@ Examples: (please make sure that template `default-template` is created before r { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -601,11 +601,11 @@ Examples: "name": "test-cluster", "namespace": "ray-system", "user": "3cpo", - "version": "2.7.0", + "version": "2.8.0", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -616,7 +616,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -735,11 +735,11 @@ Examples: "name": "test-cluster", "namespace": "ray-system", "user": "3cpo", - "version": "2.7.0", + "version": "2.8.0", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -750,7 +750,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -869,11 +869,11 @@ Examples: "name": "test-cluster", "namespace": "ray-system", "user": "3cpo", - "version": "2.7.0", + "version": "2.8.0", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -884,7 +884,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -1025,7 +1025,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0" @@ -1035,7 +1035,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "replicas": 1, "minReplicas": 0, "maxReplicas": 1, @@ -1059,7 +1059,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0" @@ -1069,7 +1069,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -1098,12 +1098,12 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ "name": "job-test", "namespace": "default", "user": "boris", - "version": "2.7.0", + "version": "2.8.0", "environment": "DEV", "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -1123,7 +1123,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, @@ -1152,11 +1152,11 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ "name":"job-test", "namespace":"default", "user":"boris", - "version":"2.7.0", + "version":"2.8.0", "clusterSpec":{ "headGroupSpec":{ "computeTemplate":"default-template", - "image":"rayproject/ray:2.7.0-py310", + "image":"rayproject/ray:2.8.0-py310", "serviceType":"NodePort", "rayStartParams":{ "dashboard-host":"0.0.0.0", @@ -1181,7 +1181,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/clusters' \ { "groupName":"small-wg", "computeTemplate":"default-template", - "image":"rayproject/ray:2.7.0-py310", + "image":"rayproject/ray:2.8.0-py310", "replicas":1, "minReplicas":5, "maxReplicas":1, @@ -1226,7 +1226,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/jobs' \ "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.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "cpu": "400m", "memory": "150Mi" }, @@ -1315,7 +1315,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/jobs' \ "ray.io/cluster": "job-test" }, "jobSubmitter": { - "image": "rayproject/ray:2.7.0-py310" + "image": "rayproject/ray:2.8.0-py310" } }' ``` @@ -1333,7 +1333,7 @@ curl -X POST 'localhost:31888/apis/v1/namespaces/default/jobs' \ "ray.io/cluster":"job-test" }, "jobSubmitter":{ - "image":"rayproject/ray:2.7.0-py310" + "image":"rayproject/ray:2.8.0-py310" }, "createdAt":"2023-10-24T11:48:19Z" } @@ -1371,7 +1371,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0" @@ -1381,7 +1381,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -1430,7 +1430,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0" @@ -1440,7 +1440,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -1487,7 +1487,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0" @@ -1497,7 +1497,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "replicas": 1, "minReplicas": 1, "maxReplicas": 1, @@ -1599,7 +1599,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -1611,7 +1611,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, @@ -1673,7 +1673,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -1684,7 +1684,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 5, "maxReplicas": 1, @@ -1718,7 +1718,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -1730,7 +1730,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 0, "maxReplicas": 5, @@ -1756,7 +1756,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -1767,7 +1767,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 5, "maxReplicas": 1, @@ -1814,7 +1814,7 @@ Examples "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -1825,7 +1825,7 @@ Examples { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 5, "maxReplicas": 1, @@ -1933,7 +1933,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -1944,7 +1944,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 5, "maxReplicas": 1, @@ -2086,7 +2086,7 @@ Examples: "clusterSpec": { "headGroupSpec": { "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "serviceType": "NodePort", "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -2097,7 +2097,7 @@ Examples: { "groupName": "small-wg", "computeTemplate": "default-template", - "image": "rayproject/ray:2.7.0-py310", + "image": "rayproject/ray:2.8.0-py310", "replicas": 1, "minReplicas": 5, "maxReplicas": 1, diff --git a/apiserver/test/cluster/cluster/cluster b/apiserver/test/cluster/cluster/cluster index 92ae631751..b00d0404e5 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.7.0-py310", + "image": "rayproject/ray:2.8.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.7.0-py310", + "image": "rayproject/ray:2.8.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 a030ac4129..0c6169ded4 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.7.0' + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.0 resources: limits: cpu: "1" @@ -84,7 +84,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.0 volumeMounts: - mountPath: /tmp/ray name: ray-logs diff --git a/apiserver/test/e2e/cluster_server_e2e_test.go b/apiserver/test/e2e/cluster_server_e2e_test.go index cf92e394f2..65a1726cf8 100644 --- a/apiserver/test/e2e/cluster_server_e2e_test.go +++ b/apiserver/test/e2e/cluster_server_e2e_test.go @@ -41,7 +41,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "3cpo", - Version: "2.7.0", + Version: "2.8.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -79,7 +79,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.7.0", + Version: "2.8.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -139,7 +139,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.7.0", + Version: "2.8.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -247,7 +247,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "bullwinkle", - Version: "2.7.0", + Version: "2.8.0", Environment: api.Cluster_DEV, ClusterSpec: nil, }, @@ -264,7 +264,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "bullwinkle", - Version: "2.7.0", + Version: "2.8.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{}, }, @@ -281,7 +281,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.7.0", + Version: "2.8.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -309,7 +309,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.7.0", + Version: "2.8.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -334,7 +334,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.7.0", + Version: "2.8.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -364,7 +364,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.7.0", + Version: "2.8.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ @@ -398,7 +398,7 @@ func TestCreateClusterEndpoint(t *testing.T) { Name: tCtx.GetNextName(), Namespace: tCtx.GetNamespaceName(), User: "boris", - Version: "2.7.0", + Version: "2.8.0", Environment: api.Cluster_DEV, ClusterSpec: &api.ClusterSpec{ HeadGroupSpec: &api.HeadGroupSpec{ diff --git a/apiserver/test/e2e/types.go b/apiserver/test/e2e/types.go index 16c6a2e911..57aaea4359 100644 --- a/apiserver/test/e2e/types.go +++ b/apiserver/test/e2e/types.go @@ -116,7 +116,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.7.0-py310" + rayImage = "rayproject/ray:2.8.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/clients/python-apiserver-client/python_apiserver_client_test/api_params_test.py b/clients/python-apiserver-client/python_apiserver_client_test/api_params_test.py index 249a595007..94933cef0f 100644 --- a/clients/python-apiserver-client/python_apiserver_client_test/api_params_test.py +++ b/clients/python-apiserver-client/python_apiserver_client_test/api_params_test.py @@ -190,7 +190,7 @@ def test_cluster(): min_replicas=2, max_replicas=2, ray_start_params=DEFAULT_WORKER_START_PARAMS, volumes=volumes, environment=env_s, labels={"key": "value"})]) - cluster = Cluster(name="test", namespace="default", user="boris", version="2.7.0", cluster_spec=spec, + cluster = Cluster(name="test", namespace="default", user="boris", version="2.8.0", cluster_spec=spec, deployment_environment=Environment.DEV, cluster_environment=env_s) print(f"cluster: {cluster.to_string()}") cluster_json = json.dumps(cluster.to_dict()) diff --git a/clients/python-apiserver-client/python_apiserver_client_test/kuberay_api_test.py b/clients/python-apiserver-client/python_apiserver_client_test/kuberay_api_test.py index dd87543ace..aa76ae86ea 100644 --- a/clients/python-apiserver-client/python_apiserver_client_test/kuberay_api_test.py +++ b/clients/python-apiserver-client/python_apiserver_client_test/kuberay_api_test.py @@ -52,12 +52,12 @@ def test_cluster(): environment = EnvironmentVariables(keyvalue={"key": "value"}) head = HeadNodeSpec(compute_template="default-template", ray_start_params={"metrics-export-port": "8080", "num-cpus": "0"}, - image="rayproject/ray:2.7.0-py310", service_type=ServiceType.ClusterIP, + image="rayproject/ray:2.8.0-py310", service_type=ServiceType.ClusterIP, volumes=[volume], environment=environment) worker = WorkerNodeSpec(group_name="small", compute_template="default-template", replicas=1, min_replicas=1, max_replicas=1, ray_start_params=DEFAULT_WORKER_START_PARAMS, - image="rayproject/ray:2.7.0-py310", volumes=[volume], environment=environment) - cluster = Cluster(name="test", namespace="default", user="boris", version="2.7.0", + image="rayproject/ray:2.8.0-py310", volumes=[volume], environment=environment) + cluster = Cluster(name="test", namespace="default", user="boris", version="2.8.0", cluster_spec=ClusterSpec(head_node=head, worker_groups=[worker])) # create status, error = apis.create_cluster(cluster) @@ -116,12 +116,12 @@ def test_job_submission(): environment = EnvironmentVariables(keyvalue={"key": "value"}) head = HeadNodeSpec(compute_template="default-template", ray_start_params={"metrics-export-port": "8080", "num-cpus": "0"}, - image="rayproject/ray:2.7.0-py310", service_type=ServiceType.ClusterIP, + image="rayproject/ray:2.8.0-py310", service_type=ServiceType.ClusterIP, volumes=[volume], environment=environment) worker = WorkerNodeSpec(group_name="small", compute_template="default-template", replicas=1, min_replicas=1, max_replicas=1, ray_start_params=DEFAULT_WORKER_START_PARAMS, - image="rayproject/ray:2.7.0-py310", volumes=[volume], environment=environment) - cluster = Cluster(name="test", namespace="default", user="boris", version="2.7.0", + image="rayproject/ray:2.8.0-py310", volumes=[volume], environment=environment) + cluster = Cluster(name="test", namespace="default", user="boris", version="2.8.0", cluster_spec=ClusterSpec(head_node=head, worker_groups=[worker])) # create status, error = apis.create_cluster(cluster) 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 72c3da7427..9bf2b15ac2 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.7.0", + "rayVersion": "2.8.0", "headGroupSpec": { "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -58,7 +58,7 @@ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.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 f07b05330c..c49172467d 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.7.0", + "rayVersion": "2.8.0", "headGroupSpec": { "rayStartParams": { "dashboard-host": "0.0.0.0", @@ -39,7 +39,7 @@ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "resources": { "limits": {"cpu": 1, "memory": "2Gi"}, "requests": {"cpu": "500m", "memory": "2Gi"}, @@ -66,7 +66,7 @@ "name": "raycluster-complete-raw", }, "spec": { - "rayVersion": "2.7.0", + "rayVersion": "2.8.0", "headGroupSpec": { "rayStartParams": {"dashboard-host": "0.0.0.0"}, "template": { @@ -75,7 +75,7 @@ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "ports": [ {"containerPort": 6379, "name": "gcs"}, {"containerPort": 8265, "name": "dashboard"}, @@ -111,7 +111,7 @@ "containers": [ { "name": "ray-worker", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.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 0d6b347e6b..88196ec161 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.7.0", + ray_version: str = "2.8.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.7.0". + - ray_version (str, optional): The version of Ray to use for the cluster. Defaults to "2.8.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.7.0", + ray_image: str = "rayproject/ray:2.8.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.7.0". + - ray_image (str): Docker image for the head node. Default value is "rayproject/ray:2.8.0". - service_type (str): Service type of the head node. Default value is "ClusterIP". - 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.7.0", + ray_image: str = "rayproject/ray:2.8.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.7.0". + - ray_image (str, optional): Docker image for the Ray process. Default is "rayproject/ray:2.8.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 f1bbfdc976..993f6abce2 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.7.0", + "rayVersion": "2.8.0", "headGroupSpec": { "rayStartParams": {"dashboard-host": "0.0.0.0"}, "template": { @@ -23,7 +23,7 @@ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "ports": [ {"containerPort": 6379, "name": "gcs"}, {"containerPort": 8265, "name": "dashboard"}, @@ -59,7 +59,7 @@ "containers": [ { "name": "ray-worker", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "lifecycle": { "preStop": { "exec": { @@ -77,7 +77,7 @@ }, { "name": "side-car", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.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 2e3c1b455a..a74eb2523f 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.7.0", + "rayVersion": "2.8.0", "headGroupSpec": { "rayStartParams": {"dashboard-host": "0.0.0.0"}, "template": { @@ -22,7 +22,7 @@ "containers": [ { "name": "ray-head", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "ports": [ {"containerPort": 6379, "name": "gcs"}, {"containerPort": 8265, "name": "dashboard"}, @@ -58,7 +58,7 @@ "containers": [ { "name": "ray-worker", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.0", "lifecycle": { "preStop": { "exec": { @@ -76,7 +76,7 @@ }, { "name": "side-car", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.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.7.0", + ray_image="rayproject/ray:2.8.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.7.0") + self.assertEqual(container["image"], "rayproject/ray:2.8.0") self.assertEqual(container["command"], ["/bin/bash", "-lc"]) resources = container["resources"] diff --git a/helm-chart/ray-cluster/values.yaml b/helm-chart/ray-cluster/values.yaml index 5e156f2d97..9a85ae16e6 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.7.0 + tag: 2.8.0 pullPolicy: IfNotPresent nameOverride: "kuberay" @@ -19,7 +19,7 @@ imagePullSecrets: [] head: # rayVersion determines the autoscaler's image version. # It should match the Ray version in the image of the containers. - # rayVersion: 2.7.0 + # rayVersion: 2.8.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 4fdac78b94..ba61915ab6 100644 --- a/ray-operator/DEVELOPMENT.md +++ b/ray-operator/DEVELOPMENT.md @@ -267,7 +267,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.7.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/compatibility-test.py + RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/compatibility-test.py ``` ### Running configuration tests locally. @@ -277,9 +277,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.7.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_raycluster_yamls.py +RAY_IMAGE=rayproject/ray:2.8.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_raycluster_yamls.py # Test RayService doc examples. -RAY_IMAGE=rayproject/ray:2.7.0 OPERATOR_IMAGE=kuberay/operator:nightly python3 tests/test_sample_rayservice_yamls.py +RAY_IMAGE=rayproject/ray:2.8.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 9765642773..10418e2f45 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.7.0", + Image: "rayproject/ray:2.8.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.7.0", + Image: "rayproject/ray:2.8.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.7.0", + "image": "rayproject/ray:2.8.0", "ports": [ { "name": "gcs-server", @@ -229,7 +229,7 @@ var testRayJobJSON = `{ "containers": [ { "name": "ray-worker", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.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 9ae89c30c1..a196c7429d 100644 --- a/ray-operator/apis/ray/v1/rayservice_types_test.go +++ b/ray-operator/apis/ray/v1/rayservice_types_test.go @@ -92,7 +92,7 @@ var myRayService = &RayService{ Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Env: []corev1.EnvVar{ { Name: "MY_POD_IP", @@ -158,7 +158,7 @@ var myRayService = &RayService{ Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, Env: []corev1.EnvVar{ @@ -257,7 +257,7 @@ var expected = `{ "containers":[ { "name":"ray-head", - "image":"rayproject/ray:2.7.0", + "image":"rayproject/ray:2.8.0", "ports":[ { "name":"gcs-server", @@ -324,7 +324,7 @@ var expected = `{ "containers":[ { "name":"ray-worker", - "image":"rayproject/ray:2.7.0", + "image":"rayproject/ray:2.8.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 2c0e02c1a5..bda5f4df57 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.7.0", + Image: "rayproject/ray:2.8.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.7.0", + Image: "rayproject/ray:2.8.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.7.0", + "image": "rayproject/ray:2.8.0", "ports": [ { "name": "gcs-server", @@ -229,7 +229,7 @@ var testRayJobJSON = `{ "containers": [ { "name": "ray-worker", - "image": "rayproject/ray:2.7.0", + "image": "rayproject/ray:2.8.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 af7e3685c6..3a93492a20 100644 --- a/ray-operator/apis/ray/v1alpha1/rayservice_types_test.go +++ b/ray-operator/apis/ray/v1alpha1/rayservice_types_test.go @@ -92,7 +92,7 @@ var myRayService = &RayService{ Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Env: []corev1.EnvVar{ { Name: "MY_POD_IP", @@ -158,7 +158,7 @@ var myRayService = &RayService{ Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, Env: []corev1.EnvVar{ @@ -257,7 +257,7 @@ var expected = `{ "containers":[ { "name":"ray-head", - "image":"rayproject/ray:2.7.0", + "image":"rayproject/ray:2.8.0", "ports":[ { "name":"gcs-server", @@ -324,7 +324,7 @@ var expected = `{ "containers":[ { "name":"ray-worker", - "image":"rayproject/ray:2.7.0", + "image":"rayproject/ray:2.8.0", "command":[ "echo" ], diff --git a/ray-operator/config/samples/ray-cluster-tpu.yaml b/ray-operator/config/samples/ray-cluster-tpu.yaml index cfeecd60b6..1b60cc46d5 100644 --- a/ray-operator/config/samples/ray-cluster-tpu.yaml +++ b/ray-operator/config/samples/ray-cluster-tpu.yaml @@ -23,7 +23,7 @@ spec: - mountPath: /tmp/ray name: log-volume name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.0 imagePullPolicy: IfNotPresent ports: - containerPort: 6379 @@ -80,7 +80,7 @@ spec: - mountPath: /tmp/ray name: log-volume name: ray-worker - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.0 imagePullPolicy: IfNotPresent resources: limits: diff --git a/ray-operator/config/samples/ray-cluster.autoscaler.large.yaml b/ray-operator/config/samples/ray-cluster.autoscaler.large.yaml index 908dca5c02..b360670e38 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.7.0' + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.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 a653429cec..18a43ecff3 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.7.0' + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.0 ports: - containerPort: 6379 name: gcs @@ -108,7 +108,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.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 22047ff043..132e59fc06 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.7.0' + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.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 225aaf01fc..76673b2de0 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.7.0' + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.0 ports: - containerPort: 6379 name: gcs @@ -91,7 +91,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.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 20853803f4..df94145737 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: # An unique identifier for the head node and workers of this cluster. name: raycluster-custom-head-service.yaml spec: - rayVersion: '2.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.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 3d9145e35d..2cb245d831 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.7.0 + image: rayproject/ray:2.8.0 ports: - containerPort: 6379 name: gcs @@ -68,7 +68,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.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 54fb52c037..984f5b66cb 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.7.0' + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.0 resources: limits: cpu: "1" @@ -158,7 +158,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.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 90c828afc6..152854a7a5 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.7.0' + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.0 resources: limits: cpu: "1" @@ -158,7 +158,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.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 67da8b724d..2aa2b2d913 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.7.0' + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.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 f32f4753d7..3942fcdf0f 100644 --- a/ray-operator/config/samples/ray-cluster.head-command.yaml +++ b/ray-operator/config/samples/ray-cluster.head-command.yaml @@ -8,7 +8,7 @@ metadata: # An unique identifier for the head node and workers of this cluster. name: raycluster-mini spec: - rayVersion: '2.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.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. @@ -21,7 +21,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.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 3016b36b26..16aeeda479 100644 --- a/ray-operator/config/samples/ray-cluster.heterogeneous.yaml +++ b/ray-operator/config/samples/ray-cluster.heterogeneous.yaml @@ -34,7 +34,7 @@ metadata: # An unique identifier for the head node and workers of this cluster. name: raycluster-heterogeneous spec: - rayVersion: '2.7.0' + rayVersion: '2.8.0' ######################headGroupSpecs################################# # Ray head pod template headGroupSpec: @@ -48,7 +48,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.0 # use volumeMounts.Optional. # Refer to https://kubernetes.io/docs/concepts/storage/volumes/ volumeMounts: diff --git a/ray-operator/config/samples/ray-cluster.mini.yaml b/ray-operator/config/samples/ray-cluster.mini.yaml index d040409d6d..ebbae63fc4 100644 --- a/ray-operator/config/samples/ray-cluster.mini.yaml +++ b/ray-operator/config/samples/ray-cluster.mini.yaml @@ -10,7 +10,7 @@ metadata: # An unique identifier for the head node and workers of this cluster. name: raycluster-mini spec: - rayVersion: '2.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.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. @@ -23,7 +23,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.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 5b1f85119b..a8b5e95e21 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.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.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 da88248cb8..ebfd16fa99 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.7.0' + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.0 lifecycle: preStop: exec: 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 396d50ee85..b296c9dbc6 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.7.0' + rayVersion: '2.8.0' headGroupSpec: rayStartParams: {} template: spec: containers: - name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.0 resources: limits: cpu: "1" @@ -31,7 +31,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.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 137a56cb3f..b53929a8fe 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.7.0' + rayVersion: '2.8.0' headGroupSpec: rayStartParams: {} template: spec: containers: - name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.0 resources: limits: cpu: "1" diff --git a/ray-operator/config/samples/ray-job.batch-inference.yaml b/ray-operator/config/samples/ray-job.batch-inference.yaml index 9a2a1cf3d2..1bcb336d29 100644 --- a/ray-operator/config/samples/ray-job.batch-inference.yaml +++ b/ray-operator/config/samples/ray-job.batch-inference.yaml @@ -5,7 +5,7 @@ metadata: spec: entrypoint: python /home/ray/samples/sample_code.py rayClusterSpec: - rayVersion: '2.7.0' + rayVersion: '2.8.0' headGroupSpec: rayStartParams: dashboard-host: '0.0.0.0' @@ -13,7 +13,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray-ml:2.7.0-gpu + image: rayproject/ray-ml:2.8.0-gpu ports: - containerPort: 6379 name: gcs-server 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 abe65d1d89..db979d98f3 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.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-pod.tls.yaml b/ray-operator/config/samples/ray-pod.tls.yaml index 46add26814..cdc6426fad 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.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.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 fafb1b786d..488cacbd56 100644 --- a/ray-operator/config/samples/ray-service.autoscaler.yaml +++ b/ray-operator/config/samples/ray-service.autoscaler.yaml @@ -38,7 +38,7 @@ spec: runtime_env: working_dir: "https://github.com/ray-project/test_dag/archive/23eac0533522579dff9a8a1ecb88931874d987ea.zip" rayClusterConfig: - rayVersion: '2.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.0' # should match the Ray version in the image of the containers ## raycluster autoscaling config enableInTreeAutoscaling: true autoscalerOptions: @@ -62,7 +62,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.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 5dde8cf3fb..b0b9ad1be9 100644 --- a/ray-operator/config/samples/ray-service.custom-serve-service.yaml +++ b/ray-operator/config/samples/ray-service.custom-serve-service.yaml @@ -53,7 +53,7 @@ spec: rayActorOptions: numCpus: 0.1 rayClusterConfig: - rayVersion: '2.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.0' # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -67,7 +67,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.0 resources: limits: cpu: 2 @@ -100,7 +100,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.7.0 + image: rayproject/ray:2.8.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 5923d261ca..38661e1614 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: numCpus: 0.1 port: 9000 rayClusterConfig: - rayVersion: '2.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.0' # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -53,7 +53,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.0 resources: limits: cpu: 2 @@ -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.7.0 + image: rayproject/ray:2.8.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-service.high-availability.yaml b/ray-operator/config/samples/ray-service.high-availability.yaml index e218ee4675..79e49a61c3 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.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.0 lifecycle: preStop: exec: @@ -217,7 +217,7 @@ metadata: spec: containers: - name: ray-container - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.0 command: ["/bin/bash", "-c", "--"] args: ["while true; do sleep 30; done;"] volumeMounts: diff --git a/ray-operator/config/samples/ray-service.mobilenet.yaml b/ray-operator/config/samples/ray-service.mobilenet.yaml index 7eb0e1048d..d42e8aac94 100644 --- a/ray-operator/config/samples/ray-service.mobilenet.yaml +++ b/ray-operator/config/samples/ray-service.mobilenet.yaml @@ -16,7 +16,7 @@ spec: ray_actor_options: num_cpus: 1 rayClusterConfig: - rayVersion: '2.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.0' # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -30,7 +30,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray-ml:2.7.0 + image: rayproject/ray-ml:2.8.0 resources: limits: cpu: 1 @@ -63,7 +63,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-ml:2.7.0 + image: rayproject/ray-ml:2.8.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-service.stable-diffusion.yaml b/ray-operator/config/samples/ray-service.stable-diffusion.yaml index 2c3c19d2d0..4fd21fa658 100644 --- a/ray-operator/config/samples/ray-service.stable-diffusion.yaml +++ b/ray-operator/config/samples/ray-service.stable-diffusion.yaml @@ -11,7 +11,7 @@ spec: working_dir: "https://github.com/ray-project/serve_config_examples/archive/d6acf9b99ef076a1848f506670e1290a11654ec2.zip" pip: ["diffusers==0.12.1"] rayClusterConfig: - rayVersion: '2.7.0' # Should match the Ray version in the image of the containers + rayVersion: '2.8.0' # Should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -25,7 +25,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray-ml:2.7.0 + image: rayproject/ray-ml:2.8.0 ports: - containerPort: 6379 name: gcs @@ -60,7 +60,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray-ml:2.7.0 + image: rayproject/ray-ml:2.8.0 resources: limits: cpu: 4 diff --git a/ray-operator/config/samples/ray-service.text-ml.yaml b/ray-operator/config/samples/ray-service.text-ml.yaml index 15da97754b..e1672ac3d4 100644 --- a/ray-operator/config/samples/ray-service.text-ml.yaml +++ b/ray-operator/config/samples/ray-service.text-ml.yaml @@ -31,7 +31,7 @@ spec: ray_actor_options: num_cpus: 0.2 rayClusterConfig: - rayVersion: '2.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.0' # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -45,7 +45,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.0 resources: limits: cpu: 2 @@ -78,7 +78,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.7.0 + image: rayproject/ray:2.8.0 lifecycle: preStop: exec: diff --git a/ray-operator/config/samples/ray-service.text-summarizer.yaml b/ray-operator/config/samples/ray-service.text-summarizer.yaml index 19b5ae1e07..2deb49bb80 100644 --- a/ray-operator/config/samples/ray-service.text-summarizer.yaml +++ b/ray-operator/config/samples/ray-service.text-summarizer.yaml @@ -10,7 +10,7 @@ spec: runtime_env: working_dir: "https://github.com/ray-project/serve_config_examples/archive/refs/heads/master.zip" rayClusterConfig: - rayVersion: '2.7.0' # Should match the Ray version in the image of the containers + rayVersion: '2.8.0' # Should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: @@ -24,7 +24,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray-ml:2.7.0 + image: rayproject/ray-ml:2.8.0 ports: - containerPort: 6379 name: gcs @@ -59,7 +59,7 @@ spec: spec: containers: - name: ray-worker - image: rayproject/ray-ml:2.7.0 + image: rayproject/ray-ml:2.8.0 resources: limits: cpu: 4 diff --git a/ray-operator/config/samples/ray_v1alpha1_rayjob.shutdown.yaml b/ray-operator/config/samples/ray_v1alpha1_rayjob.shutdown.yaml index 6e5db9d819..4eb0892051 100644 --- a/ray-operator/config/samples/ray_v1alpha1_rayjob.shutdown.yaml +++ b/ray-operator/config/samples/ray_v1alpha1_rayjob.shutdown.yaml @@ -28,7 +28,7 @@ spec: # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.0 lifecycle: preStop: exec: @@ -100,7 +100,7 @@ spec: # restartPolicy: Never # containers: # - name: my-custom-rayjob-submitter-pod - # image: rayproject/ray:2.7.0 + # image: rayproject/ray:2.8.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_v1alpha1_rayjob.yaml b/ray-operator/config/samples/ray_v1alpha1_rayjob.yaml index b6925f30fd..c96694d3d2 100644 --- a/ray-operator/config/samples/ray_v1alpha1_rayjob.yaml +++ b/ray-operator/config/samples/ray_v1alpha1_rayjob.yaml @@ -27,7 +27,7 @@ spec: # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.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. @@ -40,7 +40,7 @@ spec: spec: containers: - name: ray-head - image: rayproject/ray:2.7.0 + image: rayproject/ray:2.8.0 ports: - containerPort: 6379 name: gcs-server @@ -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.7.0 + image: rayproject/ray:2.8.0 lifecycle: preStop: exec: @@ -99,7 +99,7 @@ spec: # restartPolicy: Never # containers: # - name: my-custom-rayjob-submitter-pod - # image: rayproject/ray:2.7.0 + # image: rayproject/ray:2.8.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_v1alpha1_rayservice.yaml b/ray-operator/config/samples/ray_v1alpha1_rayservice.yaml index 40fc11a8bc..2fdcbf9bc3 100644 --- a/ray-operator/config/samples/ray_v1alpha1_rayservice.yaml +++ b/ray-operator/config/samples/ray_v1alpha1_rayservice.yaml @@ -60,7 +60,7 @@ spec: - name: Router num_replicas: 1 rayClusterConfig: - rayVersion: '2.7.0' # should match the Ray version in the image of the containers + rayVersion: '2.8.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.7.0 + image: rayproject/ray:2.8.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.7.0 + image: rayproject/ray:2.8.0 lifecycle: preStop: exec: diff --git a/ray-operator/controllers/ray/raycluster_controller_fake_test.go b/ray-operator/controllers/ray/raycluster_controller_fake_test.go index c4d12b4380..f7d7418e7c 100644 --- a/ray-operator/controllers/ray/raycluster_controller_fake_test.go +++ b/ray-operator/controllers/ray/raycluster_controller_fake_test.go @@ -215,7 +215,7 @@ func setupTest(t *testing.T) { Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, }, @@ -245,7 +245,7 @@ func setupTest(t *testing.T) { Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, }, @@ -300,7 +300,7 @@ func setupTest(t *testing.T) { Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Command: []string{"python"}, Args: []string{"/opt/code.py"}, Env: []corev1.EnvVar{ @@ -333,7 +333,7 @@ func setupTest(t *testing.T) { Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, Env: []corev1.EnvVar{ diff --git a/ray-operator/controllers/ray/raycluster_controller_test.go b/ray-operator/controllers/ray/raycluster_controller_test.go index e67c9d85cf..77f58f2c83 100644 --- a/ray-operator/controllers/ray/raycluster_controller_test.go +++ b/ray-operator/controllers/ray/raycluster_controller_test.go @@ -64,7 +64,7 @@ var _ = Context("Inside the default namespace", func() { Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Command: []string{"python"}, Args: []string{"/opt/code.py"}, Env: []corev1.EnvVar{ @@ -97,7 +97,7 @@ var _ = Context("Inside the default namespace", func() { Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, Env: []corev1.EnvVar{ diff --git a/ray-operator/controllers/ray/rayjob_controller_suspended_test.go b/ray-operator/controllers/ray/rayjob_controller_suspended_test.go index 1d24438ceb..a110647510 100644 --- a/ray-operator/controllers/ray/rayjob_controller_suspended_test.go +++ b/ray-operator/controllers/ray/rayjob_controller_suspended_test.go @@ -55,7 +55,7 @@ var _ = Context("Inside the default namespace", func() { Suspend: true, Entrypoint: "sleep 999", RayClusterSpec: &rayv1.RayClusterSpec{ - RayVersion: "2.7.0", + RayVersion: "2.8.0", HeadGroupSpec: rayv1.HeadGroupSpec{ ServiceType: corev1.ServiceTypeClusterIP, RayStartParams: map[string]string{ diff --git a/ray-operator/controllers/ray/rayjob_controller_test.go b/ray-operator/controllers/ray/rayjob_controller_test.go index f964373172..3a173675c9 100644 --- a/ray-operator/controllers/ray/rayjob_controller_test.go +++ b/ray-operator/controllers/ray/rayjob_controller_test.go @@ -71,7 +71,7 @@ var myRayJob = &rayv1.RayJob{ Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Env: []corev1.EnvVar{ { Name: "MY_POD_IP", @@ -137,7 +137,7 @@ var myRayJob = &rayv1.RayJob{ Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Command: []string{"echo"}, Args: []string{"Hello Ray"}, Env: []corev1.EnvVar{ diff --git a/ray-operator/controllers/ray/rayservice_controller_test.go b/ray-operator/controllers/ray/rayservice_controller_test.go index 12a14f3096..4397294bc0 100644 --- a/ray-operator/controllers/ray/rayservice_controller_test.go +++ b/ray-operator/controllers/ray/rayservice_controller_test.go @@ -144,7 +144,7 @@ applications: Containers: []corev1.Container{ { Name: "ray-head", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.0", Env: []corev1.EnvVar{ { Name: "MY_POD_IP", @@ -218,7 +218,7 @@ applications: Containers: []corev1.Container{ { Name: "ray-worker", - Image: "rayproject/ray:2.7.0", + Image: "rayproject/ray:2.8.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 2aaf273f5d..14ee385b58 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 TestGenerateRayClusterJsonHash(t *testing.T) { // `hash2` in this case. cluster := rayv1.RayCluster{ Spec: rayv1.RayClusterSpec{ - RayVersion: "2.7.0", + RayVersion: "2.8.0", WorkerGroupSpecs: []rayv1.WorkerGroupSpec{ { Template: corev1.PodTemplateSpec{ @@ -62,7 +62,7 @@ func TestGenerateRayClusterJsonHash(t *testing.T) { func TestCompareRayClusterJsonHash(t *testing.T) { cluster1 := rayv1.RayCluster{ Spec: rayv1.RayClusterSpec{ - RayVersion: "2.7.0", + RayVersion: "2.8.0", }, } cluster2 := cluster1.DeepCopy() diff --git a/ray-operator/test/support/defaults.go b/ray-operator/test/support/defaults.go index d5934515ac..cfae3ac166 100644 --- a/ray-operator/test/support/defaults.go +++ b/ray-operator/test/support/defaults.go @@ -1,6 +1,6 @@ package support const ( - RayVersion = "2.7.0" - RayImage = "rayproject/ray:2.7.0" + RayVersion = "2.8.0" + RayImage = "rayproject/ray:2.8.0" ) diff --git a/tests/compatibility-test.py b/tests/compatibility-test.py index 5df6a58899..1051be27e8 100755 --- a/tests/compatibility-test.py +++ b/tests/compatibility-test.py @@ -28,7 +28,7 @@ ) # Default Ray version -ray_version = '2.7.0' +ray_version = '2.8.0' class BasicRayTestCase(unittest.TestCase): """Test the basic functionalities of RayCluster by executing simple jobs.""" diff --git a/tests/framework/utils.py b/tests/framework/utils.py index 5e609ac254..616a9d77fc 100644 --- a/tests/framework/utils.py +++ b/tests/framework/utils.py @@ -232,7 +232,7 @@ def instance(cls, namespace=None, patch=jsonpatch.JsonPatch([]), if namespace == None: namespace = "default" DEFAULT_IMAGE_DICT = { - CONST.RAY_IMAGE_KEY: os.getenv('RAY_IMAGE', default='rayproject/ray:2.7.0'), + CONST.RAY_IMAGE_KEY: os.getenv('RAY_IMAGE', default='rayproject/ray:2.8.0'), CONST.OPERATOR_IMAGE_KEY: os.getenv('OPERATOR_IMAGE', default='kuberay/operator:nightly'), } default_operator_manager = DefaultOperatorManager(DEFAULT_IMAGE_DICT, namespace, patch, cluster_manager) diff --git a/tests/test_security.py b/tests/test_security.py index 6bf77b6342..32305977ec 100644 --- a/tests/test_security.py +++ b/tests/test_security.py @@ -55,7 +55,7 @@ def setUpClass(cls): {PodSecurityTestCase.namespace}.kubernetes.io/enforce-version=latest") # Install the KubeRay operator in the namespace pod-security. image_dict = { - CONST.RAY_IMAGE_KEY: 'rayproject/ray-ml:2.7.0', + CONST.RAY_IMAGE_KEY: 'rayproject/ray-ml:2.8.0', CONST.OPERATOR_IMAGE_KEY: os.getenv('OPERATOR_IMAGE','kuberay/operator:nightly'), } logger.info(image_dict) From 57d0498f7a1795167163337a5bd9fc702afc9e6a Mon Sep 17 00:00:00 2001 From: kaihsun Date: Wed, 22 Nov 2023 22:31:56 +0000 Subject: [PATCH 2/2] post 2.8 --- .github/workflows/test-job.yaml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/test-job.yaml b/.github/workflows/test-job.yaml index 2ede9d4148..99dfb0d212 100644 --- a/.github/workflows/test-job.yaml +++ b/.github/workflows/test-job.yaml @@ -307,26 +307,6 @@ jobs: with: ray_version: 1.13.0 - test-compatibility-2_4_0: - needs: - - build_operator - - build_apiserver - - lint - runs-on: ubuntu-latest - name: Compatibility Test - 2.4.0 - steps: - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - with: - # When checking out the repository that - # triggered a workflow, this defaults to the reference or SHA for that event. - # Default value should work for both pull_request and merge(push) event. - ref: ${{github.event.pull_request.head.sha}} - - - uses: ./.github/workflows/actions/compatibility - with: - ray_version: 2.4.0 - test-compatibility-2_5_0: needs: - build_operator