VM Configuration Templates
VM configurations (templates) allow you to define reusable settings for deploying virtual machines. All VM configurations reside in the orka-default namespace and are available to all users and service accounts with access to orka-default.
The shorthand alias for vm-config is vmc.
orka3 vm-config create
Create a VM configuration (template) with the specified settings. The required minimum configuration consists of a base image to use.
VM Configuration Name Requirements:
- Does not exceed 50 characters
- Consists of lowercase alphanumeric characters or dashes (-)
- Starts with an alphabetic character and ends with an alphanumeric character
- Must be unique to the cluster
Syntax:
Options:
Examples:
orka3 vm-config list
Show basic or extended information about the available VM configurations. You can list all available configurations or show information about one or more specified VM configurations.
Syntax:
Options:
Examples:
orka3 vm-config delete
Delete the specified VM configurations (templates).
Syntax:
Options:
Examples:
Deploying VMs
orka3 vm deploy
Deploy a VM with the specified configuration. The minimum required configuration consists of an image and a number of CPU cores to assign to the VM.
VM Name Behavior:
- When VM_NAME is not provided: Orka generates a unique name consisting of ‘vm-’ and a unique suffix
- When VM_NAME is provided: Orka attempts to create the VM using the provided name (must be unique)
- When both VM_NAME and —generate-name are provided: Orka generates a unique name based on VM_NAME with a unique suffix
VM Name Requirements (when provided):
- Does not exceed 63 characters (including any generated suffix)
- Consists of lowercase alphanumeric characters or dashes (-)
- Starts with an alphabetic character and ends with an alphanumeric character
- Must be unique to the namespace
Note: Some settings are Intel-only (amd64 architecture) and some settings might be mutually exclusive.
Syntax:
Options:
Examples - Basic Deployments:
Examples - Targeted Deployments:
Examples - Advanced Deployments:
Examples - Intel-Only Deployments:
Examples - VM Configuration Deployments:
Listing VMs
orka3 vm list
Show basic or extended information about the specified VM(s).
Stopped or suspended VMs appear as ‘Running’ when listed. Do not rely on the displayed status to confirm a VM is active before scheduling work against it.
Syntax:
Options:
Examples:
Deleting VMs
orka3 vm delete
Delete the specified VMs. This frees up the respective resources and ports on the respective Orka node.
This operation cannot be undone. You will not be able to restore any unsaved or uncommitted data from the VM.
Syntax:
Options:
Examples: