Creates an Custom cloud config's machine pool
POST/v1/cloudconfigs/cloudTypes/:cloudType/:configUid/machinePools
Creates an Custom cloud config's machine pool
Request
Path Parameters
Cluster's cloud type
Cluster's cloud config uid
Header Parameters
Scope the request to the specified project uid
- application/json
Body
Array [
]
cloudConfig
object
required
Machine pool configuration as yaml content
poolConfig
object
Machine pool configuration for the custom cluster
additionalLabels
object
Additional labels to be part of the machine pool
Whether this pool is for control plane
taints
object[]
control plane or worker taints
Possible values: [NoSchedule
, PreferNoSchedule
, NoExecute
]
The taint key to be applied to a node
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
The taint value corresponding to the taint key.
If IsControlPlane==true && useControlPlaneAsWorker==true, then will remove control plane taint this will not be used for worker pools
Responses
- 201
Created successfully
Response Headers
AuditUid
string
Audit uid for the request
- application/json
- Schema
- Example (from schema)
Schema
{
"uid": "string"
}