Skip to main content

Disk Autoscaling

Want to be sure you never run out of space? We got your back! Disk autoscaling can be enabled at any time in case you forgot or did not want to set up this option when creating the cluster. Decide how you want the disk to be auto-scaled before it runs out of space! Enabling disk autoscaling means your disks will never run out of space.

Set up the disk autoscaling

Provide the API with both a cluster slug and the auto-scale values to never run out of disk space.

curl -X 'PATCH' \
'https://api.gigapipe.com/v1/clusters/<your_cluster_slug>/disks/autoscale' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your_access_token>' \
-H 'Content-Type: application/json' \
-d '{ "id": 2 }'
# Payload response ::Dictionary
{
"message": "Disk autoscaling successfully set up for disk: <2>"
}

Autoscaling payload

Attributes


id  ::Integer

The disk ID


Autoscaling response

Attributes


message  ::String

A basic response message