Create node template

Creates a node template to be used in autoscaling.

Path Params
string
required

ID of the cluster that the template is for

Body Params

NodeTemplate to create

string
string
constraints
object
boolean | null

Marks whether the templated nodes will have a taint template taint. Based on the template constraints, the template may still have additional taints. For example, if both lifecycles (spot, on-demand) are enabled, to use spot nodes, the spot nodes of this template will have the spot taint.

customLabel
object
rebalancingConfig
object
customLabels
object

Custom labels for the template. The passed values will be ignored if the field custom_label is present.

boolean | null
boolean | null
boolean | null

This field is used to enable/disable autoscaling for the template.

boolean

Flag whether this template is the default template for the cluster.

customTaints
array of objects

Custom taints for the template.

customTaints
gpu
object
edgeLocationIds
array of strings

List of associated edge location IDs.

edgeLocationIds
boolean | null
priceAdjustmentConfiguration
object

PriceAdjustmentConfiguration represents price adjustment multipliers.

boolean | null

Nodes in this node-template have Storage Optimization (STOP) enabled.

Response

Language
Credentials
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json