Update virtual GPU cluster
Update the name, tags, and/or server settings of an existing virtual GPU cluster.
Update tags using JSON Merge Patch semantics (RFC 7396). To add or update tags, provide key-value pairs. To remove a tag, set its value to null.
Updating server settings (servers_settings) only modifies the cluster template.
It does NOT modify or rebuild any existing servers in the cluster.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
1
Region ID
7
Cluster unique identifier
"1aaaab48-10d0-46d9-80cc-85209284ceb4"
Body
Cluster name
63^[a-zA-Z0-9][a-zA-Z 0-9._\-]{1,61}[a-zA-Z0-9._]$"gpu-cluster-1"
Configuration settings for the servers in the cluster
{
"credentials": { "ssh_key_name": "my-key" },
"user_data": "eyJ0ZXN0IjogImRhdGEifQ=="
}Update key-value tags using JSON Merge Patch semantics (RFC 7386). Provide key-value pairs to add or update tags. Set tag values to null to remove tags. Unspecified tags remain unchanged. Read-only tags are always preserved and cannot be modified.
Examples:
- Add/update tags:
{'tags': {'environment': 'production', 'team': 'backend'}}adds new tags or updates existing ones. - Delete tags:
{'tags': {'old_tag': null}}removes specific tags. - Remove all tags:
{'tags': null}removes all user-managed tags (read-only tags are preserved). - Partial update:
{'tags': {'environment': 'staging'}}only updates specified tags. - Mixed operations:
{'tags': {'environment': 'production', 'cost_center': 'engineering', 'deprecated_tag': null}}adds/updates 'environment' and 'cost_center' while removing 'deprecated_tag', preserving other existing tags. - Replace all: first delete existing tags with null values, then add new ones in the same request.
{
"my-tag": "my-tag-value",
"my-tag-to-remove": null
}Response
OK
Cluster creation date time
"2024-12-31T23:59:59Z"
Cluster flavor name
"g3-ai-32-192-1500-l40s-48-1"
True if any server in the cluster has pending (not yet applied) settings changes
false
Cluster unique identifier
"1aaaab48-10d0-46d9-80cc-85209284ceb4"
Cluster name
"my virtual gpu cluster"
Cluster servers count
2
List of cluster nodes
[
"b4522653-fbcd-44a0-a949-541570a52281",
"e56192de-ed28-452a-b775-eeeacc795e3b"
]Cluster status
active, creating, degraded, deleting, error, rebooting, rebuilding, resizing, shutoff "active"
List of key-value tags associated with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
[
{
"key": "my-tag",
"read_only": false,
"value": "my-tag-value"
}
]Cluster update date time
"2025-01-11T23:59:59Z"