Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .buildkite/test-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- label: 'Test RayCluster and GCS E2E (nightly operator)'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand All @@ -20,7 +20,7 @@

- label: 'Test RayJob E2E (nightly operator)'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand All @@ -40,7 +40,7 @@

- label: 'Test E2E rayservice (nightly operator)'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand All @@ -60,7 +60,7 @@

- label: 'Test Autoscaler E2E Part 1 (nightly operator)'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand All @@ -80,7 +80,7 @@

- label: 'Test Autoscaler E2E Part 2 (nightly operator)'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand All @@ -100,7 +100,7 @@

- label: 'Test E2E Operator Version Upgrade (v1.5.1)'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand All @@ -119,7 +119,7 @@

- label: 'Test Apiserver E2E (nightly operator)'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand All @@ -142,7 +142,7 @@

- label: 'Test RayJob Light Weight Submitter E2E (nightly operator)'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/test-kubectl-plugin-e2e.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- label: 'Test E2E (kubectl-plugin)'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/test-python-client.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- label: 'Test Python Client'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand Down
4 changes: 2 additions & 2 deletions .buildkite/test-sample-yamls.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- label: 'Test Sample YAMLs (nightly operator)'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand All @@ -21,7 +21,7 @@

- label: 'Test Sample YAMLs (latest release)'
instance_size: large
image: golang:1.24-bookworm
image: golang:1.25-bookworm
commands:
- source .buildkite/setup-env.sh
- kind create cluster --wait 900s --config ./ci/kind-config-buildkite.yml
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/consistency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/setup-go@v3
with:
# Use the same go version with build job
go-version: v1.24
go-version: v1.25

- name: Check golang version
working-directory: ./ray-operator
Expand All @@ -51,7 +51,7 @@ jobs:
uses: actions/setup-go@v3
with:
# Use the same go version with build job
go-version: v1.24
go-version: v1.25

- name: Check golang version
working-directory: ./ray-operator
Expand All @@ -75,7 +75,7 @@ jobs:
uses: actions/setup-go@v3
with:
# Use the same go version with build job
go-version: v1.24
go-version: v1.25

- name: Update CRD/RBAC YAML files
working-directory: ./ray-operator
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/image-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: v1.24
go-version: v1.25

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: v1.24
go-version: v1.25

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -266,7 +266,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: v1.24
go-version: v1.25

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kubectl-plugin-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
go-version: '1.25'
- name: GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: v1.24
go-version: v1.25

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: v1.24
go-version: v1.25

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: v1.24
go-version: v1.25

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: v1.24
go-version: v1.25

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -388,7 +388,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: v1.24
go-version: v1.25

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exclude: _generated.go$|\.svg$|^third_party/|^proto/swagger/|^apiserver/pkg/swagger/datafile.go$|^docs/reference/api.md$|^config/grafana/|^dashboard/\.yarn/releases/yarn-.*\.cjs$

default_language_version:
golang: 1.24.0
golang: 1.25.0

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
2 changes: 1 addition & 1 deletion apiserver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the backend service
FROM golang:1.24.0-bullseye AS builder
FROM golang:1.25-bookworm AS builder

WORKDIR /workspace

Expand Down
28 changes: 25 additions & 3 deletions docs/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ AuthMode describes the authentication mode for the Ray cluster.
_Appears in:_
- [AuthOptions](#authoptions)

| Field | Description |
| --- | --- |
| `disabled` | AuthModeDisabled disables authentication.<br /> |
| `token` | AuthModeToken enables token-based authentication.<br /> |


#### AuthOptions
Expand Down Expand Up @@ -83,6 +87,10 @@ _Validation:_
_Appears in:_
- [AutoscalerOptions](#autoscaleroptions)

| Field | Description |
| --- | --- |
| `v1` | |
| `v2` | |


#### ClusterUpgradeOptions
Expand Down Expand Up @@ -152,6 +160,12 @@ _Appears in:_
- [DeletionPolicy](#deletionpolicy)
- [DeletionRule](#deletionrule)

| Field | Description |
| --- | --- |
| `DeleteCluster` | |
| `DeleteWorkers` | |
| `DeleteSelf` | |
| `DeleteNone` | |


#### DeletionRule
Expand Down Expand Up @@ -179,18 +193,15 @@ _Appears in:_
DeletionStrategy configures automated cleanup after the RayJob reaches a terminal state.
Two mutually exclusive styles are supported:


Legacy: provide both onSuccess and onFailure (deprecated; removal planned for 1.6.0). May be combined with shutdownAfterJobFinishes and (optionally) global TTLSecondsAfterFinished.
Rules: provide deletionRules (non-empty list). Rules mode is incompatible with shutdownAfterJobFinishes, legacy fields, and the global TTLSecondsAfterFinished (use per‑rule condition.ttlSeconds instead).


Semantics:
- A non-empty deletionRules selects rules mode; empty lists are treated as unset.
- Legacy requires both onSuccess and onFailure; specifying only one is invalid.
- Global TTLSecondsAfterFinished > 0 requires shutdownAfterJobFinishes=true; therefore it cannot be used with rules mode or with legacy alone (no shutdown).
- Feature gate RayJobDeletionPolicy must be enabled when this block is present.


Validation:
- CRD XValidations prevent mixing legacy fields with deletionRules and enforce legacy completeness.
- Controller logic enforces rules vs shutdown exclusivity and TTL constraints.
Expand Down Expand Up @@ -264,6 +275,12 @@ _Underlying type:_ _string_
_Appears in:_
- [RayJobSpec](#rayjobspec)

| Field | Description |
| --- | --- |
| `K8sJobMode` | |
| `HTTPMode` | |
| `InteractiveMode` | |
| `SidecarMode` | |


#### RayCluster
Expand Down Expand Up @@ -480,6 +497,11 @@ _Underlying type:_ _string_
_Appears in:_
- [RayServiceUpgradeStrategy](#rayserviceupgradestrategy)

| Field | Description |
| --- | --- |
| `NewClusterWithIncrementalUpgrade` | During upgrade, NewClusterWithIncrementalUpgrade strategy will create an upgraded cluster to gradually scale<br />and migrate traffic to using Gateway API.<br /> |
| `NewCluster` | During upgrade, NewCluster strategy will create new upgraded cluster and switch to it when it becomes ready<br /> |
| `None` | No new cluster will be created while the strategy is set to None<br /> |


#### RedisCredential
Expand Down
2 changes: 1 addition & 1 deletion experimental/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build security proxy
FROM golang:1.24.0-bullseye AS builder
FROM golang:1.25-bookworm AS builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
Loading
Loading