Zudoku
unikraft volumes

unikraft volumes create

Create a volume.

Code
unikraft volumes create [flags]

Examples

Create a new volume:

TerminalCode
unikraft volume create \ --name demo-volume \ --size 10 \ --metro fra

Options

Code
--access-mode access-mode Volume access mode. --cmd CMD Run a command to edit fields (receives YAML on stdin, outputs edited YAML on stdout). --dry-run Print patches without applying them. -f, --field FIELD Specify which fields to include in the output. --filesystem filesystem Volume filesystem. --load LOAD Load fields from a YAML file. --metro metro Metro to create in. -n, --name name Volume name. -o, --output OUTPUT Output format. One of: kv, table, json, yaml, raw, quiet, template. --quota-policy quota-policy Volume quota policy. --save FILE Save creatable fields as YAML to a file (use - for stdout). --set <name>=<value> Key-value pairs to set on the volume. --set-file <name>=<filename> Files containing key-value pairs to set on the volume. --size size Volume size. --tag tag Volume tag. --template name Create from volume template. --visual Open an editor to modify fields visually.

Options inherited from parent commands

Code
--config file Path to the configuration file. --log-level level Set the logging level. (default info) --log-type type Set the log type. (default text) --profile name Set the current profile. --telemetry Toggle usage analytics. (default true) --timeout duration Set a deadline for the command (e.g. 30s, 5m, 1h).

See Also

Last modified on