PUT /sks-cluster/{id}/nodepool/{sks-nodepool-id}

Path parameters

  • id string(uuid) Required
  • sks-nodepool-id string(uuid) Required
application/json

Body Required

  • anti-affinity-groups array[object]

    Nodepool Anti-affinity Groups

    Anti-affinity group reference

    Not more than 8 elements.

    Hide anti-affinity-groups attribute Show anti-affinity-groups attribute object
    • id string(uuid)

      Anti-affinity group ID

  • description string

    Nodepool description

    Maximum length is 255.

  • public-ip-assignment string

    Configures public IP assignment of the Instances with:

    • IPv4 (inet4) addressing only;
    • both IPv4 and IPv6 (dual) addressing.

    Values are inet4 or dual.

  • labels object
    Hide labels attribute Show labels attribute object
    • * string Additional properties
  • taints object
    Hide taints attribute Show taints attribute object
    • * object Additional properties

      Nodepool taint

      Hide * attributes Show * attributes object
      • value string Required

        Nodepool taint value

        Minimum length is 1, maximum length is 255.

      • effect string Required

        Nodepool taint effect

        Values are NoExecute, NoSchedule, or PreferNoSchedule.

  • security-groups array[object]

    Nodepool Security Groups

    Security group reference

    Not more than 16 elements.

    Hide security-groups attribute Show security-groups attribute object
    • id string(uuid)

      Security group ID

  • name string

    Nodepool name, lowercase only

    Minimum length is 1, maximum length is 255.

  • instance-type object

    Instance type reference

    Hide instance-type attribute Show instance-type attribute object
    • id string(uuid)

      Instance type ID

  • private-networks array[object]

    Nodepool Private Networks

    Private network reference

    Not more than 16 elements.

    Hide private-networks attribute Show private-networks attribute object
    • id string(uuid)

      Private network ID

  • instance-prefix string

    Prefix to apply to managed instances names (default: pool), lowercase only

    Minimum length is 1, maximum length is 30.

  • deploy-target object

    Deploy target reference

    Hide deploy-target attribute Show deploy-target attribute object
    • id string(uuid)

      Deploy target ID

  • disk-size integer(int64)

    Nodepool instances disk size in GiB

    Minimum value is 20, maximum value is 51200.

Responses

  • 200 application/json

    200

    Hide response attributes Show response attributes object
    • id string(uuid)

      Operation ID

    • reason string

      Operation failure reason

      Values are incorrect, unknown, unavailable, forbidden, busy, fault, partial, not-found, interrupted, unsupported, or conflict.

    • reference object

      Related resource reference

      Hide reference attributes Show reference attributes object
      • id string(uuid)

        Reference ID

      • command string

        Command name

    • message string

      Operation message

    • state string

      Operation status

      Values are failure, pending, success, or timeout.

PUT /sks-cluster/{id}/nodepool/{sks-nodepool-id}
curl \
 --request PUT 'https://api-ch-gva-2.exoscale.com/v2/sks-cluster/{id}/nodepool/{sks-nodepool-id}' \
 --header "Content-Type: application/json" \
 --data '{"anti-affinity-groups":[{"id":"string"}],"description":"string","public-ip-assignment":"inet4","labels":{"additionalProperty1":"string","additionalProperty2":"string"},"taints":{"additionalProperty1":{"value":"string","effect":"NoExecute"},"additionalProperty2":{"value":"string","effect":"NoExecute"}},"security-groups":[{"id":"string"}],"name":"string","instance-type":{"id":"string"},"private-networks":[{"id":"string"}],"instance-prefix":"string","deploy-target":{"id":"string"},"disk-size":42}'
Request examples
{
  "anti-affinity-groups": [
    {
      "id": "string"
    }
  ],
  "description": "string",
  "public-ip-assignment": "inet4",
  "labels": {
    "additionalProperty1": "string",
    "additionalProperty2": "string"
  },
  "taints": {
    "additionalProperty1": {
      "value": "string",
      "effect": "NoExecute"
    },
    "additionalProperty2": {
      "value": "string",
      "effect": "NoExecute"
    }
  },
  "security-groups": [
    {
      "id": "string"
    }
  ],
  "name": "string",
  "instance-type": {
    "id": "string"
  },
  "private-networks": [
    {
      "id": "string"
    }
  ],
  "instance-prefix": "string",
  "deploy-target": {
    "id": "string"
  },
  "disk-size": 42
}
Response examples (200)
{
  "id": "string",
  "reason": "incorrect",
  "reference": {
    "id": "string",
    "link": "string",
    "command": "string"
  },
  "message": "string",
  "state": "failure"
}