Page cover

detail

The cldkctl vm detail command retrieves detailed information about a specific virtual machine (VM) by its name. This command provides information such as CPU, memory, storage, image, and current status. You can also use the --yaml flag to output the details in YAML format.

Usage

cldkctl vm detail [name] [flags]

Steps

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

  1. Run the following command in your terminal and replace <vm_name> with your virtual machine name.

./cldkctl vm detail <vm_name>
  1. Optionally, include the --namespace flag to scope the operation to a specific namespace, or --project to specify a project ID.

  2. Wait for the system to retrieve the details. The command will display information such as the namespace, status, readiness, CPU, RAM, storage, image, and creation date.

  3. If you prefer to view the data in YAML format, add the --yaml flag at the end of the command

Column
Description

Namespace

The namespace where the virtual machine is located.

Status

The current operational state of the VM.

Ready

Indicates whether the VM is ready or not.

CPU

The number of virtual CPUs allocated to the VM.

RAM

The memory size assigned to the VM.

Storage

The total storage capacity allocated to the VM.

Image

The container image or operating system image used to provision the VM.

Created At

The date and time when the VM was created.

Flags

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

Flag
Description

-h, --help

Help for the vm detail command.

-n, --namespace string

Specifies the cluster namespace to scope the operation.

-p, --project string

Specifies the project ID.

--yaml

Outputs the VM details in YAML format.

Last updated