Update bare metal GPU cluster
Update the name, tags, and/or server settings of an existing bare metal 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, image_id) only modifies the cluster template.
It does NOT modify or rebuild any existing servers in the cluster.
Tags and name will be applied immediately. To apply the rest changes to running servers, use the
/cloud/v3/gpu/baremetal/{project_id}/{region_id}/clusters/{cluster_id}/apply_settings endpoint.
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
Image ID of the OS image to apply to the cluster template. Use GET /v1/images/{project_id}/{region_id} to discover available images. Takes effect on existing servers only after a successful POST /apply_settings call.
"3793c250-0b3b-4678-bab3-e11afbc29657"
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"
Image ID
"76645f69-3219-417b-be59-99361f02e0d3"
User type managing the resource
k8s, user "user"
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"