Skip to main content

Add Disks

Adding disks to a cluster means adding additional (separate) disks to the cluster. Data can be moved to this disk from the primary disk, or the new disk can be made the primary.

Add disks to a cluster

Provide the API with a cluster slug and an array of disks to add additional disks to your cluster.

curl -X 'POST' \
'<your_cluster_slug>/disks' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your_access_token>' \
-H 'Content-Type: application/json' \
-d '[
"name": "your_disk_name",
"autoscaling": true,
"type": "ssd",
"size": 150.0,
"unit": "GB"
# Payload response ::Dictionary
"message": "Adding disks to cluster <cluster-test>..."

Add disks payload


name  ::String

The disk name you want

type  ::String

The disk type (ssd, hdd, gp2, ...)

autoscaling  ::Boolean

Whether the disk scales automatically

size  ::Float

The disk size. e.g. 150.0

unit  ::String

The disk unit (GB/GiB/TB/TiB)

Add disks response


message  ::String

A basic response message