Register a UAI image with UAS. Registration tells UAS where to locate the image and whether to use the image as the default for UAIs.
cray
command) installed on the above hostcray init
command) to reach the HPE Cray EX System API Gatewaycray auth login
command)Register a UAI image with UAS.
The following is the minimum required CLI command form:
ncn-m001-cray uas admin config images create --imagename IMAGE_NAME
In this example, IMAGE_NAME
is the full name of the image, including registry host and version tag, to be registered.
The following example registers a UAI image stored in the registry.local
registry as registry.local/cray/custom-end-user-uai:latest
.
This example also explicitly sets the default attribute to true
because the --default yes
option is used in the command.
ncn-m001-cray uas admin config images create --imagename registry.local/cray/custom-end-user-uai:latest --default yes
To register the image explicitly as non-default:
ncn-m001-cray uas admin config images create --imagename registry.local/cray/custom-end-user-uai:latest --default no
Registering an image with the --default no
option is usually unnecessary. Omitting the --default
option causes UAS to set the default attribute as false
. So, the following command would be equivalent to the previous command:
ncn-m001-cray uas admin config images create --imagename registry.local/cray/custom-end-user-uai:latest