Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

create

Create a new flexi storage in your project. This command allows you to create a new flexi storage with the specified details.

Usage

cldkctl flexi storage create [flags]

Aliases

create, add

Steps

Follow the steps below to run and view the result of this command:

Interactive Mode

  1. Run the following command in your terminal:

cldkctl flexi storage create 
  1. The terminal displays the Create Storage form, select the Storage Type.

  1. Select the Volume Type, or enter the Volume Size in GB according to your storage requirements.

  2. When prompted, choose whether to attach the storage to an instance by selecting Yes or No.

  1. Enter the Name Volume, select the Zone, and choose the Billing Type.

  1. Confirm the creation by selecting Confirm, or cancel the process by selecting Cancel.

  1. Once completed successfully, the terminal displays the success message.

Non-Interactive Mode

  1. Provide all required values using command flags.

  2. Add --auto-confirm or -y to skip confirmation prompts in non-interactive mode.

  3. Run the command in your terminal.

  4. Once completed successfully, the terminal displays the success message.

Flags

This command supports global flags. Refer to the Global Flags section for details

Flag
Shorthand
Default
Description

--attach-instance

Instance name to attach (optional)

--auto-confirm

-y

false

Skip confirmation prompt

--billing-type

-b

Billing Type: PPU or Trial

--help

-h

Help for the create command

--interactive

-i

false

Run in interactive/TUI mode

--name

-n

Volume Name

--project

-p

Project ID for filtering storage

--storage-type

Storage Type ID

--volume-size

Volume Size in GB

--volume-type

Volume Type ID

--voucher-id

Voucher ID (required if billing-type=Trial)

--zone

-z

Zone ID

Last updated