Creating a Virtual Machine with Cloud Orbiter

Introduction

Cloud Orbiter provides a seamless public cloud experience for edge data centers, centralizing operations and automation for distributed Kubernetes clusters. With the integration of KubeVirt as an addon, users can efficiently manage VMs, containers, and workloads across various infrastructures.

Prerequisites

  • A connected Kubeadm kubernetes cluster with a distribution type of amd64/Linux, and an available storage class.
  • KubeVirt addon enabled on the cluster.

Step-by-Step Guide

Step 1: Basic Settings

Navigate to the "Virtual Machines" tab on the left side menu and click on "+ Create Virtual Machine". - VM Name: Enter a unique name for the VM. - Namespace: Select the appropriate namespace. Default namespace is set as 'default'. - Run Strategy: Choose 'Always' to keep the VM running continuously.

Step 2: Storage Section

Define the storage parameters for the VM: - Access Mode: Choose 'ReadWriteOnce' for single-node usage. - Size: Specify the required disk space in GiB. - Storage Class: Ensure a storage class is selected. - Image Import Options: Choose to import an image via HTTP URL or other listed methods. For HTTP URL, use a link to a supported image, such as the provided Ubuntu server image.

Step 3: Preset Selection

Customize the compute resources: - VCPU: Assign the number of virtual CPUs. - RAM: Allocate the necessary RAM in GiB.

Step 4: Configure Instance Details

  • Utilize the cloud-init script section to customize the VM's configuration.

Step 5: Review & Finalize

Check all entered details for the accuracy, including the VM name, storage, and compute resources. Confirm the namespace and cluster details, and ensure the cloud-init script is as intended.

VM Management

Once created, manage your VM directly from Cloud Orbiter: - Start/Stop: Power on or off the VM. - Pause/Unpause: Temporarily halt or resume the VM operations. - Delete/Restart: Remove or reboot the VM. - Console Access: Interact with the VM via CLI or VNC for graphical interfaces.

Conclusion

With Cloud Orbiter, you can leverage the power of Kubernetes for managing VMs alongside your container workloads, providing a versatile environment for your applications.