Bare Metal
Provision a new bare-metal server rental
Deploys a bare-metal instance based on provided baremetal_config specifications and user organization. This route requires an authorization check.
An associated k8s cluster will also be created.
post/bare-metal/
Request
- Base URLhttps://cloud-api.voltagepark.com/api/v1
- Auth
- HTTP bearer
- or API key in header UI-Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring nullable
Request body
Example request
{
"location_id": "a3111bd4-550a-47d0-838a-0a52bff2ae3f",
"name": "My Baremetal Rental",
"ssh_keys": [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDAKOgHv82A6Oi7AWLvBC9N..."
],
"network_type": "infiniband",
"tags": [
"tag1",
"tag2"
],
"addons": {
"kubernetes": {
"authentication_config_b64": "YXBpVmVyc2lvbjogYXBpc2VydmVyLmNvbmZpZy5rOHMuaW8vdjEKa2luZDogQXV0aG9yaXphdGlvbkNvbmZpZ3VyYXRpb24KYXV0aG9yaXplcnM6CiAgLSB0eXBlOiBXZWJob"
}
},
"custom_hostname": "my-node"
}Response
Successful Response
Changes
No recorded changes to this operation across all 3 revisions of this API.