Updated on 2025-07-08 GMT+08:00

Upgrading a Ray Service

Prerequisites

Upgrading a Ray Service

You can select an image package version or modify the Ray service configurations as required. The version upgrade does not interrupt your existing services.

  1. Log in to Workspace Management Console.
  2. Select the created workspace, click Access Workspace, choose Resources and Assets > Ray Services, and search for the Ray service to be upgraded.
  3. Click Upgrade Version in the Operation column.
  4. On the displayed page, select required values for Image Package Version, Ray Cluster Settings, Data, and Ray Serve Settings.

    For details, see Table 1.

    The waiting time for upgrading the Ray service is 3,000s. If it times out, the upgrade fails.

Rolling Back the Ray Service

If the Ray service upgrade fails due to incorrect upgrade configurations or other reasons, you need to roll back the Ray service.

  1. On the Ray Services page, search for the Ray service that fails to be upgraded, and click Roll back to the previous version in the Operation column.
  2. In the displayed dialog box, confirm the target version and click Confirm.