Understanding Orka Images
Images are used to spin up VMs in Orka. An image contains the macOS operating system, applications, and any configurations you’ve set up. Image Architecture Types- amd64 architecture - Intel-based images (previously denoted by an
.imgextension) - arm64 architecture - Apple silicon-based images (previously denoted by an
.orkasiextension)
Local Image Commands
orka3 image list List the locally stored images in your Orka cluster. (Note, you may not have any images until you runimagecache or a vm deploy command)
Syntax:
--output is not set, prints only essential information in a table format. Use wide for additional error information or json for JSON output.
Examples:
- Does not exceed 63 characters including the file extension (if set)
- Consists of lowercase alphanumeric characters, dashes (-) or periods (.)
- Must be unique to the cluster
orka3 image list IMAGE_COPY_NAME
Syntax:
orka3 image list GENERATED_IMAGE_NAME
Syntax:
Image Cache Commands
Manage images stored on Orka cluster nodes. By adding images to a node before deployment of a VM using that base image, you can manage and control the delay caused by remote or even local cluster storage image pulls, providing consistent deployment times. Note: Image cache operations are only supported for Apple Silicon nodes. The alias forimagecache is ic.
orka3 imagecache add
Cache the specified image on the specified node(s). Add an image to one, a select number, or all cluster node namespace members or members of a tagged node group.
The image must be pulled in the cluster before caching it on the node(s), unless it is an OCI image. For OCI images, make sure you have the necessary credentials to pull the OCI image.
Note: Caching an image is an async operation. To check the status: orka3 imagecache info IMAGE_NAME
The --nodes, --tags, and --all flags are mutually exclusive.
Syntax:
Remote Images (Deprecated)
🚧 DEPRECATED: This functionality will be removed in future releases. MacStadium recommends using OCI registries for image storage and management. Theorka3 imagecache command should be used as a replacement to load images into the cluster.
orka3 remote-image list
List the available images in the remote repository or look for specific images in the remote repository.
Syntax:
orka3 image list PULLED_IMAGE_NAME
Syntax: