# resize

Resize a specific flexi storage by its ID and new size.

## Usage

```
cldkctl flexi-storage resize [flags]
```

## Aliases

```
resize, resz
```

## Steps

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

1. Refer to the [**Flexi Storage List**](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-flexi-storage/list) section to obtain the **storage ID**.
2. Run the following command in your terminal:

```
cldkctl flexi-storage resize [storage_id] 
```

3. Replace **\[storage\_id]** with the actual storage ID.
4. The terminal displays the **Resize Storage** form. Select the **Volume Size**, or enter a value in **Custom Size in GB** if you want to specify a custom size.
5. Confirm the resize operation by selecting **Confirm**, or cancel the process by selecting **Cancel**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FD0HIXcNS6yKdehpqyORE%2Fimage.png?alt=media&#x26;token=a2cfed0a-b52d-4009-871d-397812b896e3" alt=""><figcaption></figcaption></figure>

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

<div align="left"><figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FQ49wF9guu0h5X2tpUTx7%2Fimage.png?alt=media&#x26;token=e508fd3a-afc1-4d63-b866-c384e8c6f9cb" alt=""><figcaption></figcaption></figure></div>

## Flags

{% hint style="info" %}
This command supports [global flags](https://docs.cloudeka.ai/cloudeka-api-list/global-flags). Refer to the Global Flags section for details
{% endhint %}

| Flag       | Description                  |
| ---------- | ---------------------------- |
| -h, --help | Help for the resize command. |
