Volume Management Using the UI

This topic describes how to create and delete a MetalK8s Volume using the MetalK8s UI.

Requirements

  • StorageClass objects must be registered in your cluster to create Volumes. For more information refer to StorageClass Creation.

  • Access the MetalK8s UI. Refer to this procedure.

Creating a Volume

  1. Click Nodes on the sidebar to access the node list.

    ../../_images/node_list.png
  2. On the node list, select the node you want to create a volume on.

  3. Go to the Volumes tab and click + Create Volume.

    ../../_images/volume_tab.png
  4. Fill in the respective fields, and click Create.

    • Name: Denotes the volume name.

    • Labels: A set of key/value pairs used by PersistentVolumeClaims to select the right PersistentVolumes.

    • Storage Class: Refers to StorageClass Creation.

    • Type: MetalK8s currently only supports RawBlockDevice and SparseLoopDevice.

    • Device path: Refers to the path of an existing storage device.

    ../../_images/volume_creation.png
  5. Click Volumes on the sidebar to access the volume list. The new volume created appears in the list.

    ../../_images/volume_list.png

Deleting a Volume

  1. Click Volumes on the sidebar to access the volume list, and select the volume you want to delete.

  2. Go to the Overview tab, click Delete Volume.

    ../../_images/volume_overview_delete.png
  3. Confirm the volume deletion request by clicking Delete.

    ../../_images/volume_delete_confirmation.png