oci:// must be used when pushing and pulling them.
Confirmation Before Proceeding
- A Registry project already exists in the target region, and the current account has read and write permissions for the project.
- Helm with OCI registry support is installed in the environment where the commands are executed, and the Chart directory or
.tgzpackage to be packaged is ready.
Get push and pull commands
- Get reference commands for login, push, and pull. On the Registry page, click Push & Pull, then open the Helm tab.
- Obtain the push command for a project. Go to the details page of the target project. In the left navigation pane, click Registry, and then click Get Push Command.
-
Obtain the pull command for a Chart
- Go to the target project details page and click Registry in the left navigation pane.
- Locate the target Chart and click its name.
- In the Actions column of the artifact list, click Copy Pull Command.
Log In to the Registry
- Log in to the GPU Cloud console.
- Go to STORAGE > Registry and select the target region.
- Click Push & Pull.
- On the Helm tab, obtain the registry address and login instructions for the region.
-
Log in to the registry in the environment where you perform Helm operations:
- Replace
<REGISTRY_ENDPOINT>with the registry endpoint for the current region, for example,registry-ap-southeast.scitix.ai. The Helm login command uses only the registry endpoint, withoutoci://or the project path. - Replace
<USERNAME>with the Registry Logon Username in the format<username>@<tenant_name>. - Enter the corresponding credentials as prompted. The default password is the platform logon password. Do not write the password directly in commands or public logs.
- Replace
Push a Chart
Log in to the registry, package the Chart directory into a.tgz file, and push it to the target project.
<CHART_PATH>: Chart directory.<CHART>: Chart name.<VERSION>: Chart version.<REGISTRY_ENDPOINT>: registry endpoint.<PROJECT>: target project.
.tgz package, you can skip helm package and run helm push directly.
Example:
Pull a Chart
Log in to the registry in the environment where you need to use the chart, then pull a specific version using the full OCI chart path:.tgz file corresponding to the specified version has been obtained locally. If the pull fails, first verify the region, project path, Chart name and version, and whether the credentials used in the current environment can access the project.
