# Create a new persistent 100MiB volume named "my-volume"$ kraft cloud volume create --size 100 --name my-volume# Create a new persistent 10MiB volume with a random name$ kraft cloud volume create --size 10Mi# Create a new persistent volume named "my-volume" by cloning an existing template "existing-template"$ kraft cloud volume create --from existing-template --name my-volume
Options
Code
-f, --from string Name or UUID of the template to create from -h, --help help for create -n, --name string Name of the volume -o, --output string Set output format. Options: table,yaml,json,list,raw (default "table") -s, --size string Size (MiB increments or suffixes like Mi, Gi, etc.)
Options inherited from parent commands
Code
--allow-insecure Allow insecure connections to the Unikraft Cloud API --metro string Unikraft Cloud metro location --token string Unikraft Cloud access token