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

(Optional) Configuring Image Pre-provisioning

Image pre-provisioning is the process of loading required images on compute nodes in advance. This can improve image loading efficiency and reduce the training job startup time.

Lite Cluster resource pools enable image pre-provisioning, which pulls images from nodes in the pools beforehand, accelerating image pulling during inference and large-scale distributed training.

This section describes how to configure image pre-provisioning on Lite Cluster.

Prerequisites

Configuring Image Pre-provisioning for Lite Cluster

  1. Log in to the ModelArts console. In the navigation pane on the left, choose Lite Cluster under Resource Management.
  2. Click the name of a resource pool to access its details page.
  3. Click Configuration Management on the left.
    Figure 1 Configuration Management

  4. In Pre-provision Image, click and configure parameters.
    Table 1 Parameters

    Parameter

    Description

    Image Source

    Select Preset or Custom.

    • Preset: Select an image on SWR or a shared image.
    • Custom: Enter an image path.

      You need to upload the created custom image to SWR in advance. For details, see Pushing an Image.

    Image Key

    To pre-provision an image that you do not have permissions on, you will need to add an image key. Once enabled, select the namespace and key. For details about how to create a key, see Creating a Secret. The key type must be kubernetes.io/dockerconfigjson.

    To create a key, refer to the tenant's SWR login command for the repository address, username, and password. Figure 5 shows a temporary login command. To obtain a long-term valid login command, click Learn how to obtain a long-term login command.

    To add multiple keys, click the plus sign (+).

    Add

    To add multiple images, click this button.

    Figure 2 Pre-provisioning a preset image

    Figure 3 Selecting a preset image
    Figure 4 Pre-provisioning a custom image

    Figure 5 Login Command

  5. Click OK. Then, you can see the information about the image that is pre-provisioned.

    If pre-provisioning an image failed, check whether the image path and key are correct.