PrimeHub
v4.0
v4.0
  • Introduction
  • Installation
  • Tiers and Licenses
  • End-to-End Tutorial
    • 1 - MLOps Introduction and Scoping the Project
    • 2 - Train and Manage the Model
    • 3 - Compare, Register and Deploy the Model
    • 4 - Build the Web Application
    • 5 - Summary
  • User Guide
    • User Portal
    • Notebook
      • Notebook Tips
      • Advanced Settings
      • PrimeHub Notebook Extension
      • Submit Notebook as Job
    • Jobs
      • Job Artifacts
      • Tutorial
        • (Part1) MNIST classifier training
        • (Part2) MNIST classifier training
        • (Advanced) Use Job Submission to Tune Hyperparameters
        • (Advanced) Model Serving by Seldon
        • Job Artifacts Simple Usecase
    • Models
      • Manage and Deploy Model
      • Model Management Configuration
    • Deployments
      • Pre-packaged servers
        • TensorFlow server
        • PyTorch server
        • SKLearn server
        • Customize Pre-packaged Server
        • Run Pre-packaged Server Locally
      • Package from Language Wrapper
        • Model Image for Python
        • Model Image for R
        • Reusable Base Image
      • Prediction APIs
      • Model URI
      • Tutorial
        • Model by Pre-packaged Server
        • Model by Pre-packaged Server (PHFS)
        • Model by Image built from Language Wrapper
    • Shared Files
    • Datasets
    • Apps
      • Label Studio
      • MATLAB
      • MLflow
      • Streamlit
      • Tutorial
        • Create Your Own App
        • Create an MLflow server
        • Label Dataset by Label Studio
        • Code Server
    • Group Admin
      • Images
      • Settings
    • Generate an PrimeHub API Token
    • Python SDK
    • SSH Server Feature
      • VSCode SSH Notebook Remotely
      • Generate SSH Key Pair
      • Permission Denied
      • Connection Refused
    • Advanced Tutorial
      • Labeling the data
      • Notebook as a Job
      • Custom build the Seldon server
      • PrimeHub SDK/CLI Tools
  • Administrator Guide
    • Admin Portal
      • Create User
      • Create Group
      • Assign Group Admin
      • Create/Plan Instance Type
      • Add InfuseAI Image
      • Add Image
      • Build Image
      • Gitsync Secret for GitHub
      • Pull Secret for GitLab
    • System Settings
    • User Management
    • Group Management
    • Instance Type Management
      • NodeSelector
      • Toleration
    • Image Management
      • Custom Image Guideline
    • Volume Management
      • Upload Server
    • Secret Management
    • App Settings
    • Notebooks Admin
    • Usage Reports
  • Reference
    • Jupyter Images
      • repo2docker image
      • RStudio image
    • InfuseAI Images List
    • Roadmap
  • Developer Guide
    • GitHub
    • Design
      • PrimeHub File System (PHFS)
      • PrimeHub Store
      • Log Persistence
      • PrimeHub Apps
      • Admission
      • Notebook with kernel process
      • JupyterHub
      • Image Builder
      • Volume Upload
      • Job Scheduler
      • Job Submission
      • Job Monitoring
      • Install Helper
      • User Portal
      • Meta Chart
      • PrimeHub Usage
      • Job Artifact
      • PrimeHub Apps
    • Concept
      • Architecture
      • Data Model
      • CRDs
      • GraphQL
      • Persistence Storages
      • Persistence
      • Resources Quota
      • Privilege
    • Configuration
      • How to configure PrimeHub
      • Multiple Jupyter Notebook Kernels
      • Configure SSH Server
      • Configure Job Submission
      • Configure Custom Image Build
      • Configure Model Deployment
      • Setup Self-Signed Certificate for PrimeHub
      • Chart Configuration
      • Configure PrimeHub Store
    • Environment Variables
Powered by GitBook
On this page
  • Overview
  • Add New Image
  • Use Existing Image
  • Build Custom Image
  • System Image
  1. Administrator Guide

Image Management

PreviousTolerationNextCustom Image Guideline

Last updated 2 years ago

Overview

Images management provides the capabilities of managing image resources such as add, delete, edit images and their permission-control which associates specified-groups with images to give the access. Administrators are even able to build a new custom image which are automatically pushed to the registry and added to the system.

Add New Image

Click + Add to add an Image.

  • Display name: (required): Only lowercase letters, numbers, hyphen - and a dot . can be filled in.

  • Image name: an auto-generated name based on Display name.

  • Description

Choose Use existing image or Build custom image.

Use Existing Image

Add an existing image.

  • Type: cpu, gpu and universal: Select what type of the image is.

  • Specific Container Image URL for GPU: It appears when universal is selected. By default, it uses the same url as container image url. Enable it if a specific image url for GPU is desired.

  • Image Pull Secret: Enable and select the secret if a pull-secret is required.

  • Global: Toggle Global on to allow every group accessing the image; otherwise specifying groups by Edit Groups.

Click Confirm to complete the addition.

Build Custom Image

Instead of adding existing images, Administrators can build custom images and add them.

  • Type: cpu, gpu and universal: Select what type of the image is.

  • Image Pull Secret Enable and select the secret if a pull-secret is required.

  • Packages choose packages installer/management and fill in packages requirement.

    • APT Packages management of Debian, Ubuntu and related Linux distribution.

    In case of multiple packages, please using the line break for each package instead of putting them in one line.

    • Global: Toggle Global on to allow every group access the image; otherwise specifying groups by Edit Groups.

Click Confirm to start the building and the image will be added automatically once it's done.

Conda Package Match Specification

The syntax is

(channel(/subdir):(namespace):)name(version(build))[key1=value1,key2=value2]

Use -c conda-forge:: to specify the channel:

-c conda-forge::numpy==1.17*

Building in progress

While building, the image name is amended with an triangular exclamation mark to indicate the image is not ready.

Click the image name to view the detail, it shows Image building in progress beside Container image url.

Click Image building in progress to view the Build Details and Log of the building.

The building progress can be cancelled by Cancel Build.

View build details and Rebuild

Once the building finishes successfully, there is no triangular exclamation mark as a postfix to the image name. The image becomes available from image selection.

Click View build details to view the detail and logs or to modify the detail for rebuilding.

To rebuild a image, by modification to the details and pressing Rebuild.

System Image

Whether adding an existing image or building a custom image by administrators, the image can be selected from image selection; i hint indicates a System image.

Container Image URL: Fill in the Image's url. See .

Base image url (required) The url of the base image; we can enter any valid image URLs or we can choose existing images from autocompletion. See .

Conda A packages management supports multiple programming language.

Pip Using python packages installer.

Conda supports to specify channel where the package is sourced from and of the package. So we can specify images more specifically.

For example, to install numpy package which is sourced from the channel, conda-forge, .

Reference
Reference
Ref.⇗
Ref.⇗
match specification
Ref.⇗