Image Management
Prerequisites
- You have a valid Huawei Cloud account.
- You have at least one workspace available.
- You have enabled the image package whitelist function. If you need a trial, choose Service Tickets > Create Service Tickets on the top navigation bar of Workspace Management Console to apply for the permission.
Uploading an Image Package to SWR
Log in to the SWR console. In the Upload Through SWR dialog box, upload the image package to SWR as prompted. If the file size exceeds 2 GB, use the client to upload the file. For details, see Uploading an Image.
Creating an Image Package
- Log in to Workspace Management Console, select the created workspace, and click Access Workspace.
- In the navigation pane, choose O&M Management > Image Package Management. On the displayed page, click Create Image Package in the upper right corner.
- Enter the name and version name as prompted, select the path of the image package stored in OBS for the specified version, and click Confirm to create an image package.
For details, see Table 1.
Table 1 Parameters for creating an image package Parameter
Description
Name
Image package name.
Description
Enter the description of the image package as required.
Type
Image package type. Select RAY_CLUSTER for the Ray cluster scenario and RAY_SERVICE for the Ray service scenario.
Version Name
An image package can have multiple versions. Enter a version name based on the current information.
Version Description
Description of the version to be created.
Version Type
Currently, only OBS is supported.
Path
OBS path of the version to be created.

If a RAY_CLUSTER or RAY_SERVICE Cap is created, the Cap name and version name must be the same as the package name.
For example, if the OBS path is obs://xxx/ray-cap/files/ray-cluster-2.34.0.tgz and the package name is ray-cluster-2.34.0, the Cap name must be ray-cluster and the version must be 2.34.0. Otherwise, the verification on the page fails.
After a custom version is created, you can view My Ray image package when creating a Ray cluster or My Ray service image package when creating a Ray service.
Adding an Image Package Version
- On the Image Package Management page, locate the target image package and click View Versions in the Operation column.
- On the Current Image Package Versions page, click Add Version.
- On the displayed page, set related parameters and click Confirm.
For details, see Table 2.
Table 2 Parameters for creating an image package version Parameter
Description
Version Name
An image package can have multiple versions. Enter a version name based on the current information. The image package version must be the same as the version of the selected OBS file package.
Version Description
Description of the version to be created.
Version Type
Currently, only OBS is supported.
Path
OBS path of the version to be created. Select the parent directory that contains the metadata.yaml file.
Deleting an Image Package Version
After an image package version is deleted, all related data will be cleared. Exercise caution when performing this operation.
- On the Image Package Management page, locate the target image package and click View Versions in the Operation column.
- On the Current Image Package Versions page, locate the target version and click Delete in the Operation column.
- In the displayed dialog box, enter DELETE or click One-click input, and then click Confirm.
Deleting an Image Package
Deleted image packages cannot be restored, and all related data will be cleared. Exercise caution when performing this operation.
- On the Image Package Management page, locate the target image package and click Delete in the Operation column.
- In the displayed dialog box, enter DELETE or click One-click input, and then click Confirm.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot