Skip to main content

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

    cloudType stringrequired

    Cluster's cloud type

    configUid stringrequired

    Cluster's cloud config uid

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Body

    cloudConfig

    object

    required

    valuesstring

    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

    property name*string
    isControlPlaneboolean

    Whether this pool is for control plane

    taints

    object[]

    Master or worker taints

  • Array [

  • effectstring

    Possible values: [NoSchedule, PreferNoSchedule, NoExecute]

    keystring

    The taint key to be applied to a node

    timeAddeddate-time

    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.

    valuestring

    The taint value corresponding to the taint key.

  • ]

  • useControlPlaneAsWorkerboolean

    If IsControlPlane==true && useControlPlaneAsWorker==true, then will remove master taint this will not be used for worker pools

Responses

Created successfully

Response Headers

  • AuditUid

    string

    Audit uid for the request

Schema

    uidstringrequired
Loading...