Volume Management using the UI

This section describes the creation and deletion of MetalK8s Volume using the MetalK8s UI. In order to create Volumes you need to have StorageClass objects registered in your cluster. See StorageClass Creation

Volume Creation

To access the UI, refer to this procedure

  1. Navigate to the Nodes list page, by clicking the button in the sidebar:

    ../../_images/node_list.png
  2. From the Node list, select the node you would like to create a volume on

    ../../_images/all_nodes.png
  3. Navigate to the Volumes tab

    ../../_images/node_detail.png
  4. Click the + button to create a volume

    ../../_images/create_volume.png
  5. Fill out the respective fields

    ../../_images/volume_creation.png
    • Name: Denotes the volume name.

    • Labels: A set of key/value pairs that are used by Persistent Volume Claims to select the right Persistent Volumes.

    • Storage Class: Refer to the storage class creation page listed here: StorageClass Creation

    • Type: Metalk8s currently only supports RawBlockDevice and SparseLoopDevice.

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

  6. Finally, click the Create button

    ../../_images/test_volume.png
  7. You should have a new volume listed in the Volume list

    ../../_images/volume_created.png
  8. If you click on any volume in the Volume list, you will see more information in the Volume detail view:

    ../../_images/volume_detail.png

Volume Deletion

  1. To delete a volume from the MetalK8s UI, from the volume listing, click the delete button

    ../../_images/volume_delete.png
  2. Confirm the volume deletion request by clicking the Delete button

    ../../_images/volume_delete_confirmation.png