From PVC (UI)

This guide explains how to add a model that’s already been pre-loaded on a Persistent Volume Claim (PVC) within your Kubernetes namespace for MLIS.

Before You Start


PVC Syntax & URL Options

Review the following PVC syntax and URL options to ensure you have the correct information for adding your model.

Option Description Example Default
PVC Name Name of the Persistent Volume Claim (PVC) to be mounted pvc://my-model-pvc Required, no default
Path Optional path within the PVC to be mounted pvc://my-model-pvc/models If not specified, the entire PVC is mounted
ContainerPath Directory in container where the PVC is mounted pvc://my-model-pvc?containerPath=/mnt/models /mnt/models
readOnly Whether the volume is read-only pvc://my-model-pvc?readOnly If not specified, the volume is read-write
PVC Name
The PVC must exist in the Kubernetes namespace where the packaged model will be deployed.

Adding the Model

  1. Sign in to HPE Machine Learning Inferencing Software and navigate to Packaged Models.
  2. Select Add new model and fill in the basic details.
  3. In Storage Details:
    • Set Registry to None and Model Format to Custom.
    • Enter the appropriate Image name.
    • Specify the URL/Path using PVC syntax (e.g., pvc://models-cache-pvc?containerPath=/mnt/models).
  4. Choose a Resource Template or define custom resources.
  5. Set any necessary Environment Variables and Arguments based on your packaged model’s framework type. For more information, see the Advanced Configuration reference article.
  6. Select Create model.