# cldkctl vm

The vm command allows you to manage virtual machines (VMs) within your Cloudeka cluster. You can create, edit, delete, start, stop, reboot, and monitor VMs to ensure optimal resource allocation and performance across your environment. This command is particularly useful for DevOps engineers or administrators managing compute workloads and infrastructure through the Cloudeka CLI.

## Usage

```
cldkctl vm [flags]
cldkctl vm [command]
```

## Available commands

| Command | Description                                                                   |
| ------- | ----------------------------------------------------------------------------- |
| create  | Create a new virtual machine                                                  |
| delete  | Delete an existing virtual machine                                            |
| detail  | Display detailed information about a specific virtual machine                 |
| edit    | Modify virtual machine settings such as CPU, memory, or network configuration |
| list    | List all virtual machines within the project                                  |
| reboot  | Reboot a running virtual machine                                              |
| start   | Start a virtual machine                                                       |
| stop    | Stop a running virtual machine                                                |

## Flags

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

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


---

# Agent Instructions: 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/cloudeka-api-list/command-reference/cldkctl-vm.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.
