fbpixel

Volumes

Volumes are the preferred mechanism for persisting data generated by and used by containers.

  • You can manage volumes using the BeeKube CLI;
  • Volumes can be safely shared among multiple containers;
  • New volumes can have their content pre-populated by a container;

HakunaCloud volumes are backed by solid-state drives (SSDs) and are suitable for a broad range of transactional workloads, including dev/test environments, low-latency interactive applications, and boot volumes.

Create And Manage Volumes

Create a volume

beekube volume create <name> --size 5
  • A volume is univocally identified by its <name>;
  • The volume --size must be declared at volume creation, expressed as GB. The minimum volume size is 5 GB

List volumes

beekube volume ls

Remove a volume

A HakunaCloud data volume persists after a container is deleted. A volume can be removed only if it is not referenced by any containers, regardless of the container state:

beekube volume rm <name> 

Volumes Quick References

  • A Volume can be attached up to 4 containers;
  • Volume --size must be expressed; minimum is 5 GB;

Next Topics

Tutorials

Tutorials based on the example of this page: