Add Registry

By adding a registry to HPE Machine Learning Inferencing Software, you grant the platform read access to any models stored in that registry. Services can then be created and deployed in your Kubernetes cluster by pulling in these models and assigning the required resources.

Before You Start


How to Add Registry

Via the UI

  1. Sign in to HPE Machine Learning Inferencing Software.
  2. Navigate to Registries.
  3. Select Add new registry.
  4. Input details for the following based on the registry type you are adding:
  5. Select Create registry.

That’s it! You have successfully added a new registry to HPE Machine Learning Inferencing Software. You can now create a packaged model and associate it with this registry.

Via the CLI

  1. Sign in via the CLI.
    aioli user login <YOUR_USERNAME>
  2. Create a new registry with the following command:
    aioli registry create <REGISTRY_NAME> \
    --type s3 \
    --bucket <BUCKET_ADDRESS> \
    --access-key <ACCESS_KEY> \
    --secret-key <SECRET_KEY> \ 
    --endpoint-url <BUCKET_ENDPOINT_URL> \

Via the API

  1. Sign in to HPE Machine Learning Inferencing Software.
    curl -X 'POST' \
      '<YOUR_EXT_CLUSTER_IP>/api/v1/login' \
      -H 'accept: application/json' \
      -H 'Content-Type: application/json' \
      -d '{
      "username": "<YOUR_USERNAME>",
      "password": "<YOUR_PASSWORD>"
    }'
  2. Obtain the Bearer token from the response.
  3. Use the following cURL command to add a new registry.
    curl -X 'POST' \
      '<YOUR_EXT_CLUSTER_IP>/api/v1/registries' \
      -H 'accept: application/json' \
      -H 'Content-Type: application/json' \
      -H 'Authorization: Bearer <YOUR_ACCESS_TOKEN>' \ 
      -d '{
        "accessKey": "<ACCESS_KEY>",
        "bucket": "<BUCKET_ADDRESS>",
        "endpointUrl": "<BUCKET_ENDPOINT_URL>",
        "insecureHttps": true,
        "name": "<REGISTRY_NAME>",
        "secretKey": "<SECRET_KEY>",
        "type": "<TYPE>"
      }'