Skip to content

kraft cloud volume attach

Attach a persistent volume to an instance.

kraft cloud volume attach [FLAGS] UUID|NAME

Examples

# Attach the volume data to the instance nginx to the path /mnt/data
$ kraft cloud vol attach data --to nginx --at /mnt/data
# Attach a volume to the instance nginx to the path /mnt/data by UUID
$ kraft cloud volume at 77d0316a-fbbe-488d-8618-5bf7a612477a --to nginx --at /mnt/data

Options

--at string The path the volume should be mounted to
-h, --help help for attach
--to string The instance the volume should be attached to

Options inherited from parent commands

--metro string Set the KraftCloud metro.

Aliases

The kraft cloud volume attach command can also be run as:

at

See Also