Skip to main content

Storage Classes

Overview

Storage classes define how persistent volumes are provisioned in your Kubernetes cluster. After installing the CSI driver (for example, NFS), you can create storage classes that reference allocated volumes and set reclaim policy and other options.

Prerequisites

  • Tenant Admin access
  • Imported storage node
  • JupyterHub with Kai Scheduler Template cluster in Running state

Install CSI Driver

Step 1: Open Cluster View

  1. Navigate to BareMetalKubernetes, click the three-dot menu on the cluster, and select View.

Click Cluster View

Cluster View page

Step 2: Install NFS CSI Drivers

  1. Click NFS Server Install, then click Install Drivers to install the CSI drivers.
  2. After installation starts, the status shows Pending and may take a few minutes to reach Deployed.
  3. When the deployment reaches Running, verify in KubeShell that the CSI pods are running.

Install CSI driver

CSI pending state

CSI Deployed state

Create Storage Class

Step 1: Open Storage Classes

  1. Navigate to the Storage classes tab.

Storage Classes

Step 2: Create a Storage Class

  1. Click Create Storage Class to create a storage class.
  2. Enter Name and Description, select Reclaim Policy, choose the Volume, and click Create.
  3. After the storage class is created, verify it in KubeShell.

Create Storage Class form

Storage class created