Overriding defaults with custom VM types
When overridden, the default types will be replaced by operator provided sizes. Operators can repeatedly update the list of available sizes, and any jobs using no-longer-available-sizes will be returned to the default of automatic
.
AWS vm_types also have a raw_instance_storage
boolean field. If you are on AWS, you can optionally provide one under each vm_type in your request body. If you do not supply it, it defaults to false
.
GCP vm_types also have a machine_type
string field. This allows you to use a predefined GCP machine type for a given VM type, instead of using a "custom" GCP machine type.
{
"vm_types": [
{}
]
}
vm_types
OK
Bad Request
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/vm_types