Creating a PersistentVolume

Set up storage that is available to all containers in the cluster.

To view a list of PersistentVolume, from the navigation menu, click Platform > Storage.

Two formats are available for you to create a PersistentVolume from the management console.

You can create PersistentVolumes either by entering the parameter values in the Create PersistentVolume dialog box or by pasting a YAML file into the "Create resource" window.

Required user type or access level: Cluster administrator

Creating PersistentVolumes by using the Create PersistentVolume dialog box

  1. From the navigation menu, click Platform > Storage.
  2. Click Create PersistentVolume.
  3. Enter the storage details.

    To create storage, the following parameters are required:

    • Name
    • Capacity
    • Access mode
    • Reclaim policy
    • Storage type - if you are using the Create PersistentVolume dialog box to create new storage, only NFS, GlusterFS, hostPath, or vSphere can be selected. To use other types of storage, use the "Create resource" window.
    • Parameters for storage - this parameter depends on the type of storage selected. For example, if you choose NFS storage, you need to specify server and path for the storage.
  4. Click Create.

Creating PersistentVolumes by using the "Create resource" window

  1. From the dashboard, click Create resource.
  2. Copy and paste a YAML file into the "Create resource" dialog box. For more information about creating a persistent volume, see https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistent-volumes Opens in a new tab.
  3. Click Create.

After the deployment completes, a new PersistentVolume is displayed in the list. Review the status of the PersistentVolume. The volume must be in Available state.