diff --git a/.github/workflows/kubectl-plugin-release.yaml b/.github/workflows/kubectl-plugin-release.yaml index b5d3441f0ca..33c814efefd 100644 --- a/.github/workflows/kubectl-plugin-release.yaml +++ b/.github/workflows/kubectl-plugin-release.yaml @@ -18,14 +18,14 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.25' + go-version: "1.25" - name: GoReleaser uses: goreleaser/goreleaser-action@v6 with: - distribution: 'goreleaser' + distribution: "goreleaser" version: latest args: release --clean - workdir: 'kubectl-plugin' + workdir: "kubectl-plugin" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Update new version in krew-index diff --git a/apiserver/test/cluster/cluster_external_redis.yaml b/apiserver/test/cluster/cluster_external_redis.yaml index e293923f53f..a4a95a781a2 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.52.0' + rayVersion: "2.52.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. diff --git a/benchmark/perf-tests/100-raycluster/raycluster.yaml b/benchmark/perf-tests/100-raycluster/raycluster.yaml index 4a8239960ef..86ad6c2c5b4 100644 --- a/benchmark/perf-tests/100-raycluster/raycluster.yaml +++ b/benchmark/perf-tests/100-raycluster/raycluster.yaml @@ -5,10 +5,10 @@ metadata: labels: perf-test: ray-cluster spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: - dashboard-host: '0.0.0.0' + dashboard-host: "0.0.0.0" template: spec: containers: diff --git a/benchmark/perf-tests/100-rayjob/pytorch-mnist-rayjob.yaml b/benchmark/perf-tests/100-rayjob/pytorch-mnist-rayjob.yaml index cb76177d143..51d494ea0d9 100644 --- a/benchmark/perf-tests/100-rayjob/pytorch-mnist-rayjob.yaml +++ b/benchmark/perf-tests/100-rayjob/pytorch-mnist-rayjob.yaml @@ -13,7 +13,7 @@ spec: CPUS_PER_WORKER: "1" OMP_NUM_THREADS: "1" # Set OMP_NUM_THREADS to avoid KeyErorr race condition. rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: template: spec: diff --git a/benchmark/perf-tests/100-rayjob/ray-data-image-resize.yaml b/benchmark/perf-tests/100-rayjob/ray-data-image-resize.yaml index 74823bca191..0eeb9655266 100644 --- a/benchmark/perf-tests/100-rayjob/ray-data-image-resize.yaml +++ b/benchmark/perf-tests/100-rayjob/ray-data-image-resize.yaml @@ -8,7 +8,7 @@ spec: shutdownAfterJobFinishes: true entrypoint: python ray_data_image_resize.py rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: template: spec: diff --git a/benchmark/perf-tests/1000-raycluster/raycluster.yaml b/benchmark/perf-tests/1000-raycluster/raycluster.yaml index ff6526fa179..ddc126bf992 100644 --- a/benchmark/perf-tests/1000-raycluster/raycluster.yaml +++ b/benchmark/perf-tests/1000-raycluster/raycluster.yaml @@ -5,12 +5,12 @@ metadata: labels: perf-test: ray-cluster spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: serviceType: ClusterIP rayStartParams: - dashboard-host: '0.0.0.0' - disable-usage-stats: 'true' + dashboard-host: "0.0.0.0" + disable-usage-stats: "true" template: spec: containers: diff --git a/benchmark/perf-tests/1000-rayjob/pytorch-mnist-rayjob.yaml b/benchmark/perf-tests/1000-rayjob/pytorch-mnist-rayjob.yaml index e110c481f6b..c2a422b8440 100644 --- a/benchmark/perf-tests/1000-rayjob/pytorch-mnist-rayjob.yaml +++ b/benchmark/perf-tests/1000-rayjob/pytorch-mnist-rayjob.yaml @@ -26,10 +26,10 @@ spec: requests: cpu: "10m" rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: - disable-usage-stats: 'true' + disable-usage-stats: "true" template: spec: containers: diff --git a/benchmark/perf-tests/1000-rayjob/ray-data-image-resize.yaml b/benchmark/perf-tests/1000-rayjob/ray-data-image-resize.yaml index 2cae9c0aa79..0d140228069 100644 --- a/benchmark/perf-tests/1000-rayjob/ray-data-image-resize.yaml +++ b/benchmark/perf-tests/1000-rayjob/ray-data-image-resize.yaml @@ -26,10 +26,10 @@ spec: requests: cpu: "10m" rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: - disable-usage-stats: 'true' + disable-usage-stats: "true" template: spec: containers: diff --git a/benchmark/perf-tests/10000-raycluster/raycluster.yaml b/benchmark/perf-tests/10000-raycluster/raycluster.yaml index 3443f6b6979..efac5097d3a 100644 --- a/benchmark/perf-tests/10000-raycluster/raycluster.yaml +++ b/benchmark/perf-tests/10000-raycluster/raycluster.yaml @@ -5,12 +5,12 @@ metadata: labels: perf-test: ray-cluster spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: serviceType: ClusterIP rayStartParams: - dashboard-host: '0.0.0.0' - disable-usage-stats: 'true' + dashboard-host: "0.0.0.0" + disable-usage-stats: "true" template: spec: containers: diff --git a/benchmark/perf-tests/10000-rayjob/pytorch-mnist-rayjob.yaml b/benchmark/perf-tests/10000-rayjob/pytorch-mnist-rayjob.yaml index d299482e0b7..c02e314ddff 100644 --- a/benchmark/perf-tests/10000-rayjob/pytorch-mnist-rayjob.yaml +++ b/benchmark/perf-tests/10000-rayjob/pytorch-mnist-rayjob.yaml @@ -26,10 +26,10 @@ spec: requests: cpu: "10m" rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: - disable-usage-stats: 'true' + disable-usage-stats: "true" template: spec: containers: diff --git a/benchmark/perf-tests/10000-rayjob/ray-data-image-resize.yaml b/benchmark/perf-tests/10000-rayjob/ray-data-image-resize.yaml index 2cae9c0aa79..0d140228069 100644 --- a/benchmark/perf-tests/10000-rayjob/ray-data-image-resize.yaml +++ b/benchmark/perf-tests/10000-rayjob/ray-data-image-resize.yaml @@ -26,10 +26,10 @@ spec: requests: cpu: "10m" rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: - disable-usage-stats: 'true' + disable-usage-stats: "true" template: spec: containers: diff --git a/benchmark/perf-tests/5000-raycluster/raycluster.yaml b/benchmark/perf-tests/5000-raycluster/raycluster.yaml index 3443f6b6979..efac5097d3a 100644 --- a/benchmark/perf-tests/5000-raycluster/raycluster.yaml +++ b/benchmark/perf-tests/5000-raycluster/raycluster.yaml @@ -5,12 +5,12 @@ metadata: labels: perf-test: ray-cluster spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: serviceType: ClusterIP rayStartParams: - dashboard-host: '0.0.0.0' - disable-usage-stats: 'true' + dashboard-host: "0.0.0.0" + disable-usage-stats: "true" template: spec: containers: diff --git a/benchmark/perf-tests/5000-rayjob/pytorch-mnist-rayjob.yaml b/benchmark/perf-tests/5000-rayjob/pytorch-mnist-rayjob.yaml index d299482e0b7..c02e314ddff 100644 --- a/benchmark/perf-tests/5000-rayjob/pytorch-mnist-rayjob.yaml +++ b/benchmark/perf-tests/5000-rayjob/pytorch-mnist-rayjob.yaml @@ -26,10 +26,10 @@ spec: requests: cpu: "10m" rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: - disable-usage-stats: 'true' + disable-usage-stats: "true" template: spec: containers: diff --git a/benchmark/perf-tests/5000-rayjob/ray-data-image-resize.yaml b/benchmark/perf-tests/5000-rayjob/ray-data-image-resize.yaml index 2cae9c0aa79..0d140228069 100644 --- a/benchmark/perf-tests/5000-rayjob/ray-data-image-resize.yaml +++ b/benchmark/perf-tests/5000-rayjob/ray-data-image-resize.yaml @@ -26,10 +26,10 @@ spec: requests: cpu: "10m" rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: - disable-usage-stats: 'true' + disable-usage-stats: "true" template: spec: containers: diff --git a/kubectl-plugin/test/e2e/testdata/ray-job.interactive-mode-no-runtime-env.yaml b/kubectl-plugin/test/e2e/testdata/ray-job.interactive-mode-no-runtime-env.yaml index 341040a73ff..8c62ad1cdf6 100644 --- a/kubectl-plugin/test/e2e/testdata/ray-job.interactive-mode-no-runtime-env.yaml +++ b/kubectl-plugin/test/e2e/testdata/ray-job.interactive-mode-no-runtime-env.yaml @@ -3,9 +3,9 @@ kind: RayJob metadata: name: rayjob-sample spec: - submissionMode: 'InteractiveMode' + submissionMode: "InteractiveMode" rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: template: spec: diff --git a/kubectl-plugin/test/e2e/testdata/ray-job.interactive-mode.yaml b/kubectl-plugin/test/e2e/testdata/ray-job.interactive-mode.yaml index cbdcf6e42b4..b68565733a6 100644 --- a/kubectl-plugin/test/e2e/testdata/ray-job.interactive-mode.yaml +++ b/kubectl-plugin/test/e2e/testdata/ray-job.interactive-mode.yaml @@ -4,7 +4,7 @@ metadata: name: rayjob-sample spec: # The current value is "InteractiveMode", meaning that it will wait for user to submit job and provide the job submission ID - submissionMode: 'InteractiveMode' + submissionMode: "InteractiveMode" runtimeEnvYAML: | pip: - emoji==2.14.0 @@ -14,7 +14,7 @@ spec: another_env_var: "second_env_var" rayClusterSpec: - rayVersion: '2.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers headGroupSpec: template: spec: 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 de99fd7a67b..98884bb2788 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.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} # Pod template 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 2160e71f5d5..22da8abe6cb 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 @@ -16,17 +16,17 @@ spec: - transformers>=4.19.1 working_dir: "https://github.com/ray-project/kuberay/archive/master.zip" rayClusterSpec: - rayVersion: '2.46.0' + rayVersion: "2.46.0" headGroupSpec: rayStartParams: - dashboard-host: '0.0.0.0' + dashboard-host: "0.0.0.0" template: metadata: annotations: gke-gcsfuse/volumes: "true" gke-gcsfuse/cpu-limit: "0" - gke-gcsfuse/memory-limit: 5Gi - gke-gcsfuse/ephemeral-storage-limit: 10Gi + gke-gcsfuse/memory-limit: "5Gi" + gke-gcsfuse/ephemeral-storage-limit: "10Gi" spec: serviceAccountName: pytorch-distributed-training containers: @@ -69,14 +69,14 @@ spec: maxReplicas: 4 groupName: gpu-group rayStartParams: - dashboard-host: '0.0.0.0' + dashboard-host: "0.0.0.0" template: metadata: annotations: gke-gcsfuse/volumes: "true" gke-gcsfuse/cpu-limit: "0" - gke-gcsfuse/memory-limit: 5Gi - gke-gcsfuse/ephemeral-storage-limit: 10Gi + gke-gcsfuse/memory-limit: "5Gi" + gke-gcsfuse/ephemeral-storage-limit: "10Gi" spec: serviceAccountName: pytorch-distributed-training tolerations: diff --git a/ray-operator/config/samples/pytorch-text-classifier/ray-job.pytorch-distributed-training.yaml b/ray-operator/config/samples/pytorch-text-classifier/ray-job.pytorch-distributed-training.yaml index ee9af32fee1..ce7cdc7b856 100644 --- a/ray-operator/config/samples/pytorch-text-classifier/ray-job.pytorch-distributed-training.yaml +++ b/ray-operator/config/samples/pytorch-text-classifier/ray-job.pytorch-distributed-training.yaml @@ -15,10 +15,10 @@ spec: - pytorch-lightning==1.8.5 working_dir: "https://github.com/ray-project/kuberay/archive/master.zip" rayClusterSpec: - rayVersion: '2.46.0' + rayVersion: "2.46.0" headGroupSpec: rayStartParams: - dashboard-host: '0.0.0.0' + dashboard-host: "0.0.0.0" template: spec: tolerations: diff --git a/ray-operator/config/samples/ray-cluster-resource-isolation-with-overrides.gke.yaml b/ray-operator/config/samples/ray-cluster-resource-isolation-with-overrides.gke.yaml index d8041404efc..bee1710bf7f 100644 --- a/ray-operator/config/samples/ray-cluster-resource-isolation-with-overrides.gke.yaml +++ b/ray-operator/config/samples/ray-cluster-resource-isolation-with-overrides.gke.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-resource-isolation spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: enable-resource-isolation: "true" # Set --enable-resource-isolation flag in `ray start` diff --git a/ray-operator/config/samples/ray-cluster-resource-isolation.gke.yaml b/ray-operator/config/samples/ray-cluster-resource-isolation.gke.yaml index f64938c3242..a727a316066 100644 --- a/ray-operator/config/samples/ray-cluster-resource-isolation.gke.yaml +++ b/ray-operator/config/samples/ray-cluster-resource-isolation.gke.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-resource-isolation spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: enable-resource-isolation: "true" # Set --enable-resource-isolation flag in `ray start` diff --git a/ray-operator/config/samples/ray-cluster.auth.yaml b/ray-operator/config/samples/ray-cluster.auth.yaml index 7a986412256..0d69743bcf3 100644 --- a/ray-operator/config/samples/ray-cluster.auth.yaml +++ b/ray-operator/config/samples/ray-cluster.auth.yaml @@ -6,7 +6,7 @@ spec: enableInTreeAutoscaling: true authOptions: mode: token - rayVersion: '2.53.0' + rayVersion: "2.53.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-cluster.autoscaler-v2.yaml b/ray-operator/config/samples/ray-cluster.autoscaler-v2.yaml index c6f7a848f62..cf23bceedff 100644 --- a/ray-operator/config/samples/ray-cluster.autoscaler-v2.yaml +++ b/ray-operator/config/samples/ray-cluster.autoscaler-v2.yaml @@ -5,7 +5,7 @@ metadata: spec: # The version of Ray you are using. Make sure all Ray containers are running this version of Ray. # Use the Ray nightly or Ray version >= 2.10.0 and KubeRay 1.1.0 or later for autoscaler v2. - rayVersion: '2.52.0' + rayVersion: "2.52.0" enableInTreeAutoscaling: true autoscalerOptions: version: v2 diff --git a/ray-operator/config/samples/ray-cluster.autoscaler.yaml b/ray-operator/config/samples/ray-cluster.autoscaler.yaml index 8afe868312e..c698f4cd559 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.52.0' + rayVersion: "2.52.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 diff --git a/ray-operator/config/samples/ray-cluster.complete.yaml b/ray-operator/config/samples/ray-cluster.complete.yaml index d66f7dcbd3b..394d3889b14 100644 --- a/ray-operator/config/samples/ray-cluster.complete.yaml +++ b/ray-operator/config/samples/ray-cluster.complete.yaml @@ -7,7 +7,7 @@ kind: RayCluster metadata: name: raycluster-complete spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" # Ray head pod configuration headGroupSpec: # Kubernetes Service Type. This is an optional field, and the default value is ClusterIP. @@ -17,7 +17,7 @@ spec: # See https://github.com/ray-project/kuberay/blob/master/docs/guidance/rayStartParams.md for the default settings of `rayStartParams` in KubeRay. # See https://docs.ray.io/en/latest/cluster/cli.html#ray-start for all available options in `rayStartParams`. rayStartParams: - dashboard-host: '0.0.0.0' + dashboard-host: "0.0.0.0" # pod template template: metadata: 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 c240c674299..dd113853827 100644 --- a/ray-operator/config/samples/ray-cluster.custom-head-service.yaml +++ b/ray-operator/config/samples/ray-cluster.custom-head-service.yaml @@ -8,12 +8,12 @@ kind: RayCluster metadata: name: custom-head-svc spec: - rayVersion: '2.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.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 ... rayStartParams: - num-cpus: '1' # can be auto-completed from the limits + num-cpus: "1" # can be auto-completed from the limits headService: metadata: name: custom-ray-head-service-name diff --git a/ray-operator/config/samples/ray-cluster.deprecate-gcs-ft.yaml b/ray-operator/config/samples/ray-cluster.deprecate-gcs-ft.yaml index 6e09c7d7a0d..609eb0d8ff0 100644 --- a/ray-operator/config/samples/ray-cluster.deprecate-gcs-ft.yaml +++ b/ray-operator/config/samples/ray-cluster.deprecate-gcs-ft.yaml @@ -10,7 +10,7 @@ metadata: # ray.io/external-storage-namespace: "my-raycluster-storage" name: raycluster-external-redis spec: - rayVersion: '2.52.0' + rayVersion: "2.52.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. 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 de8da2a92b3..2d7dbc3301b 100644 --- a/ray-operator/config/samples/ray-cluster.external-redis-uri.yaml +++ b/ray-operator/config/samples/ray-cluster.external-redis-uri.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-external-redis-uri spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" gcsFaultToleranceOptions: # In most cases, you don't need to set `externalStorageNamespace` because KubeRay will # automatically set it to the UID of RayCluster. Only modify this annotation if you fully understand diff --git a/ray-operator/config/samples/ray-cluster.external-redis.yaml b/ray-operator/config/samples/ray-cluster.external-redis.yaml index fe029815653..06601434986 100644 --- a/ray-operator/config/samples/ray-cluster.external-redis.yaml +++ b/ray-operator/config/samples/ray-cluster.external-redis.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-external-redis spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" gcsFaultToleranceOptions: # In most cases, you don't need to set `externalStorageNamespace` because KubeRay will # automatically set it to the UID of RayCluster. Only modify this annotation if you fully understand diff --git a/ray-operator/config/samples/ray-cluster.fluentbit.yaml b/ray-operator/config/samples/ray-cluster.fluentbit.yaml index bb238987306..6b2c49f86cb 100644 --- a/ray-operator/config/samples/ray-cluster.fluentbit.yaml +++ b/ray-operator/config/samples/ray-cluster.fluentbit.yaml @@ -4,7 +4,7 @@ kind: RayCluster metadata: name: raycluster-fluentbit-sidecar-logs spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-cluster.gke-bucket.yaml b/ray-operator/config/samples/ray-cluster.gke-bucket.yaml index 393573a1ce4..24242ded7f7 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.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-cluster.head-command.yaml b/ray-operator/config/samples/ray-cluster.head-command.yaml index 0ca712e54ce..73381bdb8bf 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.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.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. diff --git a/ray-operator/config/samples/ray-cluster.overwrite-command.yaml b/ray-operator/config/samples/ray-cluster.overwrite-command.yaml index ebc6b74419e..1530f33caec 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.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers # Ray head Pod template headGroupSpec: rayStartParams: {} diff --git a/ray-operator/config/samples/ray-cluster.persistent-redis.yaml b/ray-operator/config/samples/ray-cluster.persistent-redis.yaml index 57d13d76fc7..7b3c7b6cce7 100644 --- a/ray-operator/config/samples/ray-cluster.persistent-redis.yaml +++ b/ray-operator/config/samples/ray-cluster.persistent-redis.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-external-redis spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" gcsFaultToleranceOptions: # In most cases, you don't need to set `externalStorageNamespace` because KubeRay will # automatically set it to the UID of RayCluster. Only modify this annotation if you fully understand diff --git a/ray-operator/config/samples/ray-cluster.py-spy.yaml b/ray-operator/config/samples/ray-cluster.py-spy.yaml index 685bdbbfb48..288a40fc13c 100644 --- a/ray-operator/config/samples/ray-cluster.py-spy.yaml +++ b/ray-operator/config/samples/ray-cluster.py-spy.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-py-spy spec: - rayVersion: '2.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers # Ray head pod template headGroupSpec: rayStartParams: {} diff --git a/ray-operator/config/samples/ray-cluster.sample.yaml b/ray-operator/config/samples/ray-cluster.sample.yaml index 0dd84ce7b75..9f8c240689a 100644 --- a/ray-operator/config/samples/ray-cluster.sample.yaml +++ b/ray-operator/config/samples/ray-cluster.sample.yaml @@ -21,7 +21,7 @@ spec: # * May cause temporary service disruption during recreation # upgradeStrategy: # type: None - rayVersion: '2.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers # Ray head pod template headGroupSpec: # rayStartParams is optional with RayCluster CRD from KubeRay 1.4.0 or later but required in earlier versions. diff --git a/ray-operator/config/samples/ray-cluster.separate-ingress.yaml b/ray-operator/config/samples/ray-cluster.separate-ingress.yaml index 89e49951b88..0011a970a47 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.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.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. diff --git a/ray-operator/config/samples/ray-cluster.tls.yaml b/ray-operator/config/samples/ray-cluster.tls.yaml index 2367ab5b69f..02a351b3bbf 100644 --- a/ray-operator/config/samples/ray-cluster.tls.yaml +++ b/ray-operator/config/samples/ray-cluster.tls.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-tls spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" # Note: Uncomment the `enableInTreeAutoscaling` and `autoscalerOptions` # if you wish to configure TLS for the autoscaler. 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 0eead88dbae..30e704fc125 100644 --- a/ray-operator/config/samples/ray-cluster.tpu-v4-multihost.yaml +++ b/ray-operator/config/samples/ray-cluster.tpu-v4-multihost.yaml @@ -6,7 +6,7 @@ kind: RayCluster metadata: name: raycluster-tpu-v4-multihost spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: 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 00cc3a53c78..f5436961b6e 100644 --- a/ray-operator/config/samples/ray-cluster.tpu-v4-singlehost.yaml +++ b/ray-operator/config/samples/ray-cluster.tpu-v4-singlehost.yaml @@ -6,7 +6,7 @@ kind: RayCluster metadata: name: raycluster-tpu-v4-singlehost spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-cluster.tpu-v6e-16-multihost.yaml b/ray-operator/config/samples/ray-cluster.tpu-v6e-16-multihost.yaml index f924c0ccf97..1ddc175f7c1 100644 --- a/ray-operator/config/samples/ray-cluster.tpu-v6e-16-multihost.yaml +++ b/ray-operator/config/samples/ray-cluster.tpu-v6e-16-multihost.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-tpu-v6e-multihost spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-cluster.tpu-v6e-256-multihost.yaml b/ray-operator/config/samples/ray-cluster.tpu-v6e-256-multihost.yaml index eb31a402856..6bac9399657 100644 --- a/ray-operator/config/samples/ray-cluster.tpu-v6e-256-multihost.yaml +++ b/ray-operator/config/samples/ray-cluster.tpu-v6e-256-multihost.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-tpu-v6e-multihost spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-cluster.tpu-v6e-singlehost.yaml b/ray-operator/config/samples/ray-cluster.tpu-v6e-singlehost.yaml index a70baad808f..2f940ecb6ce 100644 --- a/ray-operator/config/samples/ray-cluster.tpu-v6e-singlehost.yaml +++ b/ray-operator/config/samples/ray-cluster.tpu-v6e-singlehost.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-tpu-v6e-singlehost spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-cluster.uv.yaml b/ray-operator/config/samples/ray-cluster.uv.yaml index 8114b596718..d921ab28d56 100644 --- a/ray-operator/config/samples/ray-cluster.uv.yaml +++ b/ray-operator/config/samples/ray-cluster.uv.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: raycluster-uv spec: - rayVersion: '2.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-cluster.verl.yaml b/ray-operator/config/samples/ray-cluster.verl.yaml index caff1e48887..3997389e6f2 100644 --- a/ray-operator/config/samples/ray-cluster.verl.yaml +++ b/ray-operator/config/samples/ray-cluster.verl.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: verl-cluster spec: - rayVersion: '2.43.0' + rayVersion: "2.43.0" headGroupSpec: rayStartParams: {} template: 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 3c440779b5e..ccc9b7e773a 100644 --- a/ray-operator/config/samples/ray-cluster.volcano-scheduler-queue.yaml +++ b/ray-operator/config/samples/ray-cluster.volcano-scheduler-queue.yaml @@ -15,7 +15,7 @@ metadata: labels: volcano.sh/queue-name: kuberay-test-queue spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-cluster.volcano-scheduler.yaml b/ray-operator/config/samples/ray-cluster.volcano-scheduler.yaml index f9176f3ba8e..7c8824d648b 100644 --- a/ray-operator/config/samples/ray-cluster.volcano-scheduler.yaml +++ b/ray-operator/config/samples/ray-cluster.volcano-scheduler.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: test-cluster-0 spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-cronjob.sample.yaml b/ray-operator/config/samples/ray-cronjob.sample.yaml index 793a374c22c..b81f5f06536 100644 --- a/ray-operator/config/samples/ray-cronjob.sample.yaml +++ b/ray-operator/config/samples/ray-cronjob.sample.yaml @@ -44,7 +44,7 @@ spec: # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.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. diff --git a/ray-operator/config/samples/ray-data-image-resize/ray-data-image-resize-gcsfusecsi-job.yaml b/ray-operator/config/samples/ray-data-image-resize/ray-data-image-resize-gcsfusecsi-job.yaml index 5c750c246a1..3070456ff51 100644 --- a/ray-operator/config/samples/ray-data-image-resize/ray-data-image-resize-gcsfusecsi-job.yaml +++ b/ray-operator/config/samples/ray-data-image-resize/ray-data-image-resize-gcsfusecsi-job.yaml @@ -17,7 +17,7 @@ spec: rayClusterSpec: headGroupSpec: rayStartParams: - disable-usage-stats: 'true' + disable-usage-stats: "true" template: metadata: annotations: @@ -62,9 +62,9 @@ spec: # replace the bucketName to the Google Cloud Storage bucket of your choice. For non-public bucket, ensure access control is setup for the pod by following https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/cloud-storage-fuse-csi-driver#authentication bucketName: ray-images mountOptions: implicit-dirs,anonymous-access,uid=1000,gid=100,metadata-cache:ttl-secs:-1,metadata-cache:stat-cache-max-size-mb:-1,metadata-cache:type-cache-max-size-mb:-1 - skipCSIBucketAccessCheck: 'true' + skipCSIBucketAccessCheck: "true" name: gcs-fuse-csi-ephemeral - rayVersion: 2.52.0 + rayVersion: "2.52.0" workerGroupSpecs: - groupName: worker-group maxReplicas: 3 @@ -74,10 +74,10 @@ spec: template: metadata: annotations: - gke-gcsfuse/cpu-limit: '0' - gke-gcsfuse/ephemeral-storage-limit: '0' - gke-gcsfuse/memory-limit: '0' - gke-gcsfuse/volumes: 'true' + gke-gcsfuse/cpu-limit: "0" + gke-gcsfuse/ephemeral-storage-limit: "0" + gke-gcsfuse/memory-limit: "0" + gke-gcsfuse/volumes: "true" spec: containers: - image: rayproject/ray:2.52.0 @@ -105,5 +105,5 @@ spec: # replace the bucketName to the Google Cloud Storage bucket of your choice. For non-public bucket, ensure access control is setup for the pod by following https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/cloud-storage-fuse-csi-driver#authentication bucketName: ray-images mountOptions: implicit-dirs,anonymous-access,uid=1000,gid=100,metadata-cache:ttl-secs:-1,metadata-cache:stat-cache-max-size-mb:-1,metadata-cache:type-cache-max-size-mb:-1 - skipCSIBucketAccessCheck: 'true' + skipCSIBucketAccessCheck: "true" name: gcs-fuse-csi-ephemeral 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 530f59a7a43..03017ef95fd 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.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} # Pod template diff --git a/ray-operator/config/samples/ray-job.batch-inference.yaml b/ray-operator/config/samples/ray-job.batch-inference.yaml index c95555a8177..642cafa7271 100644 --- a/ray-operator/config/samples/ray-job.batch-inference.yaml +++ b/ray-operator/config/samples/ray-job.batch-inference.yaml @@ -5,10 +5,10 @@ metadata: spec: entrypoint: python /home/ray/samples/sample_code.py rayClusterSpec: - rayVersion: '2.46.0' + rayVersion: "2.46.0" headGroupSpec: rayStartParams: - dashboard-host: '0.0.0.0' + dashboard-host: "0.0.0.0" template: spec: containers: 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 86e5f8af246..e19b0109afd 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.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers # Ray head pod template headGroupSpec: headService: diff --git a/ray-operator/config/samples/ray-job.deletion-rules.yaml b/ray-operator/config/samples/ray-job.deletion-rules.yaml index 7f3512b7950..6e5d3015485 100644 --- a/ray-operator/config/samples/ray-job.deletion-rules.yaml +++ b/ray-operator/config/samples/ray-job.deletion-rules.yaml @@ -53,7 +53,7 @@ spec: policy: DeleteSelf # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: 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 d808fb2db9c..77520d26d44 100644 --- a/ray-operator/config/samples/ray-job.kueue-toy-sample.yaml +++ b/ray-operator/config/samples/ray-job.kueue-toy-sample.yaml @@ -33,7 +33,7 @@ spec: # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-job.light-weight-submitter.yaml b/ray-operator/config/samples/ray-job.light-weight-submitter.yaml index 071e43fab9d..e8ee5c41efb 100644 --- a/ray-operator/config/samples/ray-job.light-weight-submitter.yaml +++ b/ray-operator/config/samples/ray-job.light-weight-submitter.yaml @@ -5,7 +5,7 @@ metadata: spec: # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.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. diff --git a/ray-operator/config/samples/ray-job.resources.yaml b/ray-operator/config/samples/ray-job.resources.yaml index e6c9c9822bb..4c3c7846086 100644 --- a/ray-operator/config/samples/ray-job.resources.yaml +++ b/ray-operator/config/samples/ray-job.resources.yaml @@ -21,7 +21,7 @@ spec: # rayClusterSpec specifies the RayCluster instance to be created by the RayJob controller. rayClusterSpec: - rayVersion: '2.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers # Ray head pod template headGroupSpec: rayStartParams: diff --git a/ray-operator/config/samples/ray-job.sample.yaml b/ray-operator/config/samples/ray-job.sample.yaml index ed8564ce984..10df8eb017c 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.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.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. diff --git a/ray-operator/config/samples/ray-job.shutdown.yaml b/ray-operator/config/samples/ray-job.shutdown.yaml index 66b71a799f4..555c51d1a5b 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.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.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. diff --git a/ray-operator/config/samples/ray-job.sidecar-mode.yaml b/ray-operator/config/samples/ray-job.sidecar-mode.yaml index 6240c4f666b..a90b2f4833b 100644 --- a/ray-operator/config/samples/ray-job.sidecar-mode.yaml +++ b/ray-operator/config/samples/ray-job.sidecar-mode.yaml @@ -16,7 +16,7 @@ spec: counter_name: "test_counter" rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-job.tpu-v6e-16-multihost.yaml b/ray-operator/config/samples/ray-job.tpu-v6e-16-multihost.yaml index 8465754e6a7..f97d12de3bc 100644 --- a/ray-operator/config/samples/ray-job.tpu-v6e-16-multihost.yaml +++ b/ray-operator/config/samples/ray-job.tpu-v6e-16-multihost.yaml @@ -10,7 +10,7 @@ spec: - jax[tpu]==0.6.1 - -f https://storage.googleapis.com/jax-releases/libtpu_releases.html rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-job.tpu-v6e-256-multihost.yaml b/ray-operator/config/samples/ray-job.tpu-v6e-256-multihost.yaml index 10a9d3a978b..0b6658b404f 100644 --- a/ray-operator/config/samples/ray-job.tpu-v6e-256-multihost.yaml +++ b/ray-operator/config/samples/ray-job.tpu-v6e-256-multihost.yaml @@ -10,7 +10,7 @@ spec: - jax[tpu]==0.4.33 - -f https://storage.googleapis.com/jax-releases/libtpu_releases.html rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-job.tpu-v6e-singlehost.yaml b/ray-operator/config/samples/ray-job.tpu-v6e-singlehost.yaml index 36c0a9e4e03..3b669c85b74 100644 --- a/ray-operator/config/samples/ray-job.tpu-v6e-singlehost.yaml +++ b/ray-operator/config/samples/ray-job.tpu-v6e-singlehost.yaml @@ -10,7 +10,7 @@ spec: - jax[tpu]==0.6.1 - -f https://storage.googleapis.com/jax-releases/libtpu_releases.html rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-job.volcano-scheduler-queue.yaml b/ray-operator/config/samples/ray-job.volcano-scheduler-queue.yaml index 8ae18cf832d..4712853ee95 100644 --- a/ray-operator/config/samples/ray-job.volcano-scheduler-queue.yaml +++ b/ray-operator/config/samples/ray-job.volcano-scheduler-queue.yaml @@ -23,7 +23,7 @@ spec: env_vars: counter_name: "test_counter" rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/config/samples/ray-job.yunikorn-scheduler.yaml b/ray-operator/config/samples/ray-job.yunikorn-scheduler.yaml index 165dd840a40..2b2eb1b2376 100644 --- a/ray-operator/config/samples/ray-job.yunikorn-scheduler.yaml +++ b/ray-operator/config/samples/ray-job.yunikorn-scheduler.yaml @@ -15,7 +15,7 @@ spec: env_vars: counter_name: "test_counter" rayClusterSpec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: 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 fed824ba41d..c2762e107a2 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.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: diff --git a/ray-operator/config/samples/ray-service.different-port.yaml b/ray-operator/config/samples/ray-service.different-port.yaml index 87dc42f0b27..f6ce2002d08 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.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: diff --git a/ray-operator/config/samples/ray-service.high-availability.yaml b/ray-operator/config/samples/ray-service.high-availability.yaml index 5e0fde5bda1..8ef44ae5171 100644 --- a/ray-operator/config/samples/ray-service.high-availability.yaml +++ b/ray-operator/config/samples/ray-service.high-availability.yaml @@ -38,7 +38,7 @@ spec: ray_actor_options: num_cpus: 0.1 rayClusterConfig: - rayVersion: '2.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. gcsFaultToleranceOptions: diff --git a/ray-operator/config/samples/ray-service.mobilenet.yaml b/ray-operator/config/samples/ray-service.mobilenet.yaml index 35450839456..6dcfdc5719e 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.46.0' # should match the Ray version in the image of the containers + rayVersion: "2.46.0" # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: diff --git a/ray-operator/config/samples/ray-service.no-ray-serve-replica.yaml b/ray-operator/config/samples/ray-service.no-ray-serve-replica.yaml index 5200f3e03d0..c9eccd253bb 100644 --- a/ray-operator/config/samples/ray-service.no-ray-serve-replica.yaml +++ b/ray-operator/config/samples/ray-service.no-ray-serve-replica.yaml @@ -17,7 +17,7 @@ spec: ray_actor_options: num_cpus: 0.1 rayClusterConfig: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: num-cpus: "0" diff --git a/ray-operator/config/samples/ray-service.sample.yaml b/ray-operator/config/samples/ray-service.sample.yaml index b45b26696ab..803ab4488d8 100644 --- a/ray-operator/config/samples/ray-service.sample.yaml +++ b/ray-operator/config/samples/ray-service.sample.yaml @@ -60,7 +60,7 @@ spec: - name: Router num_replicas: 1 rayClusterConfig: - rayVersion: '2.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: diff --git a/ray-operator/config/samples/ray-service.stable-diffusion.yaml b/ray-operator/config/samples/ray-service.stable-diffusion.yaml index ccd9804c47a..7ab2ca4fd72 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/b8af221bc0e5d6cc7daa0dd071295fd9e456e671.zip" pip: ["diffusers==0.32.2", "transformers==4.48.2"] rayClusterConfig: - rayVersion: '2.46.0' # Should match the Ray version in the image of the containers + rayVersion: "2.46.0" # Should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: diff --git a/ray-operator/config/samples/ray-service.text-ml.yaml b/ray-operator/config/samples/ray-service.text-ml.yaml index ba58150b8af..30c772acf38 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.52.0' # should match the Ray version in the image of the containers + rayVersion: "2.52.0" # should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: diff --git a/ray-operator/config/samples/ray-service.text-summarizer.yaml b/ray-operator/config/samples/ray-service.text-summarizer.yaml index 22490b257f7..3f749b02256 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/607d1264c2c998e4a85eaf5403efcd3bc9ed3039.zip" rayClusterConfig: - rayVersion: '2.46.0' # Should match the Ray version in the image of the containers + rayVersion: "2.46.0" # Should match the Ray version in the image of the containers ######################headGroupSpecs################################# # Ray head pod template. headGroupSpec: 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 f416d25f5e8..2cd6871752f 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.52.0' + rayVersion: "2.52.0" headGroupSpec: rayStartParams: {} template: diff --git a/ray-operator/test/e2erayservice/testdata/locust-cluster.burst.yaml b/ray-operator/test/e2erayservice/testdata/locust-cluster.burst.yaml index 2f7503fc87e..a6d1b03c80f 100644 --- a/ray-operator/test/e2erayservice/testdata/locust-cluster.burst.yaml +++ b/ray-operator/test/e2erayservice/testdata/locust-cluster.burst.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: locust-cluster spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: template: spec: @@ -12,11 +12,11 @@ spec: image: rayproject/ray:2.52.0 resources: requests: - cpu: 300m - memory: 1G + cpu: "300m" + memory: "1G" limits: - cpu: 500m - memory: 2G + cpu: "500m" + memory: "2G" ports: - containerPort: 6379 name: gcs-server diff --git a/ray-operator/test/e2erayservice/testdata/locust-cluster.const-rate.yaml b/ray-operator/test/e2erayservice/testdata/locust-cluster.const-rate.yaml index 3b38fbdec88..a837a9c40b5 100644 --- a/ray-operator/test/e2erayservice/testdata/locust-cluster.const-rate.yaml +++ b/ray-operator/test/e2erayservice/testdata/locust-cluster.const-rate.yaml @@ -3,7 +3,7 @@ kind: RayCluster metadata: name: locust-cluster spec: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: template: spec: @@ -12,11 +12,11 @@ spec: image: rayproject/ray:2.52.0 resources: requests: - cpu: 300m - memory: 1G + cpu: "300m" + memory: "1G" limits: - cpu: 500m - memory: 2G + cpu: "500m" + memory: "2G" ports: - containerPort: 6379 name: gcs-server diff --git a/ray-operator/test/e2erayservice/testdata/rayservice.autoscaling.yaml b/ray-operator/test/e2erayservice/testdata/rayservice.autoscaling.yaml index 10338477f09..b24411aa1a1 100644 --- a/ray-operator/test/e2erayservice/testdata/rayservice.autoscaling.yaml +++ b/ray-operator/test/e2erayservice/testdata/rayservice.autoscaling.yaml @@ -26,7 +26,7 @@ spec: ray_actor_options: num_cpus: 0.5 rayClusterConfig: - rayVersion: '2.52.0' + rayVersion: "2.52.0" enableInTreeAutoscaling: true autoscalerOptions: idleTimeoutSeconds: 60 @@ -40,11 +40,11 @@ spec: image: rayproject/ray:2.52.0 resources: requests: - cpu: 300m - memory: 1G + cpu: "300m" + memory: "1G" limits: - cpu: 500m - memory: 2G + cpu: "500m" + memory: "2G" ports: - containerPort: 6379 name: gcs-server @@ -66,8 +66,8 @@ spec: image: rayproject/ray:2.52.0 resources: requests: - cpu: 300m - memory: 1G + cpu: "300m" + memory: "1G" limits: - cpu: 500m - memory: 1G + cpu: "500m" + memory: "1G" diff --git a/ray-operator/test/e2erayservice/testdata/rayservice.deletiondelay.yaml b/ray-operator/test/e2erayservice/testdata/rayservice.deletiondelay.yaml index f42dbdefd0b..23ac0c225cb 100644 --- a/ray-operator/test/e2erayservice/testdata/rayservice.deletiondelay.yaml +++ b/ray-operator/test/e2erayservice/testdata/rayservice.deletiondelay.yaml @@ -21,7 +21,7 @@ spec: ray_actor_options: num_cpus: 1 rayClusterConfig: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: template: spec: @@ -30,11 +30,11 @@ spec: image: rayproject/ray:2.52.0 resources: requests: - cpu: 300m - memory: 1G + cpu: "300m" + memory: "1G" limits: - cpu: 500m - memory: 2G + cpu: "500m" + memory: "2G" ports: - containerPort: 6379 name: gcs-server @@ -58,8 +58,8 @@ spec: image: rayproject/ray:2.52.0 resources: requests: - cpu: 300m - memory: 1G + cpu: "300m" + memory: "1G" limits: - cpu: 500m - memory: 1G + cpu: "500m" + memory: "1G" diff --git a/ray-operator/test/e2erayservice/testdata/rayservice.static.yaml b/ray-operator/test/e2erayservice/testdata/rayservice.static.yaml index f930322c5e8..c24e3099004 100644 --- a/ray-operator/test/e2erayservice/testdata/rayservice.static.yaml +++ b/ray-operator/test/e2erayservice/testdata/rayservice.static.yaml @@ -20,7 +20,7 @@ spec: ray_actor_options: num_cpus: 1 rayClusterConfig: - rayVersion: '2.52.0' + rayVersion: "2.52.0" headGroupSpec: template: spec: @@ -29,11 +29,11 @@ spec: image: rayproject/ray:2.52.0 resources: requests: - cpu: 300m - memory: 1G + cpu: "300m" + memory: "1G" limits: - cpu: 500m - memory: 2G + cpu: "500m" + memory: "2G" ports: - containerPort: 6379 name: gcs-server @@ -57,8 +57,8 @@ spec: image: rayproject/ray:2.52.0 resources: requests: - cpu: 300m - memory: 1G + cpu: "300m" + memory: "1G" limits: - cpu: 500m - memory: 1G + cpu: "500m" + memory: "1G"