Skip to Content
Get StartedClusters

Clusters

Clusters are autoscaling groups of instances backed by a load balancer. When traffic increases, new instances are added automatically. When it drops, they are removed.


1. Create a cluster

Go to Menu → Compute → Clusters → Create Cluster.

FieldDescription
NameCluster identifier
ImageBase image for all instances in the group
FlavorInstance size (vCPU, RAM)
Min sizeMinimum number of running instances
Max sizeMaximum number of running instances
Backend networkPrivate network for internal traffic
SSH keypairKey used to connect to instances
PortApplication port the load balancer routes to
DNS nameDomain name for the cluster load balancer
Scale-out thresholdCPU % that triggers adding an instance (e.g. 0.7 = 70%)
Scale-in thresholdCPU % that triggers removing an instance (e.g. 0.2 = 20%)
Create bastionAdd a bastion host for SSH access to the cluster

The cluster is created as an OpenStack Heat stack. Creation takes 2–5 minutes.


2. View cluster status

From the Clusters page, each cluster shows:

  • Stack name and ID
  • Number of running instances
  • Load balancer domain
  • Current status

Click a cluster to view details including individual instance health.


3. Rolling update

A rolling update replaces the base image used by the autoscaling group without downtime. New instances spawned after the update use the new image; existing instances are replaced gradually as the group scales.

Steps:

  1. Create a snapshot of an instance with the updated software (Instances → Actions → Create Snapshot)
  2. Go to Clusters → Actions → Rolling Update
  3. Select the snapshot from the dropdown
  4. Click Start Rolling Update

Progress is shown in real time via the notification panel.

Rolling updates affect new instances spawned by autoscaling. Existing instances continue running on the old image until they are replaced by normal scale-in/scale-out cycles.


4. Delete a cluster

Go to Clusters → Actions → Delete. This removes the Heat stack, all instances in the group, and the load balancer. The operation cannot be undone.


API

MethodPathDescription
POST/v1/clustersCreate a cluster
GET/v1/clustersList clusters
GET/v1/clusters/:stackName/:stackIdGet cluster details
PATCH/v1/clusters/:stackName/:stackIdUpdate cluster (e.g. new image)
DELETE/v1/clusters/:stackName/:stackIdDelete a cluster

Last updated on