# cldkctl flexi

Manage Deka Flexi compute, networking, storage, and related resources.

`cldkctl flexi` is the CLI interface for managing Deka Flexi cloud resources. It supports two modes of operation:

* **Interactive (TUI)** -- Full wizard-style interface with dropdowns, inputs, and confirmations
* **Non-interactive (CLI flags)** -- Scriptable flag-based mode for automation and CI/CD

## Usage

```
cldkctl flexi [flags]
cldkctl flexi [command]
```

## Available commands

| Command   | Description                                   |
| --------- | --------------------------------------------- |
| disk-type | List available disk/storage types             |
| flavor    | List instance flavors (CPU/RAM plans)         |
| image     | Manage images, snapshots, and backups         |
| instance  | Manage flexi compute instances                |
| network   | Manage VPCs, subnets, ports, and floating IPs |
| region    | List regions and availability zones           |
| security  | Manage security groups and rules              |
| strorage  | Manage block storage volumes                  |

## Flags

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

| Flag       | Description    |
| ---------- | -------------- |
| -h, --help | Help for flexi |

## Dual-Mode Operation

Most write operations (create, update, delete, attach, etc.) support both interactive and non-interactive modes:

### Interactive Mode

Add `--interactive` or `-i` to launch the TUI wizard:

```
cldkctl flexi instance create -p <project-id> -i
```

### Non-Interactive Mode

Provide all required values via flags:

```
cldkctl flexi instance create -p <project-id> \
  --name my-instance \
  --image-type os \
  --image-os-id <os-id> \
  --flavor-id <flavor-id> \
  --zone <zone-id> \
  --billing-type PPU \
  --root-disk-type <disk-type> \
  --vpc-id <vpc-id> \
  --auth-method password \
  --password Secret123!
```

### Auto-Confirm

Add `--auto-confirm` or `-y` to skip confirmation prompts in non-interactive mode:

```
cldkctl flexi storage create -p <project-id> \
  --name my-vol --volume-size 50 --billing-type PPU -y
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/cloudeka-api-list/command-reference/cldkctl-flexi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
