Body
Required
-
Nodepool Anti-affinity Groups
Anti-affinity group reference
Not more than
8elements. -
Nodepool description
Maximum length is
255. -
Configures public IP assignment of the Instances with:
- IPv4 (
inet4) addressing only; - both IPv4 and IPv6 (
dual) addressing.
Values are
inet4ordual. - IPv4 (
-
Nodepool Security Groups
Security group reference
Not more than
16elements. -
Nodepool name, lowercase only
Minimum length is
1, maximum length is255. -
Instance type reference
-
Nodepool Private Networks
Private network reference
Not more than
16elements. -
Prefix to apply to managed instances names (default: pool), lowercase only
Minimum length is
1, maximum length is30. -
Deploy target reference
-
Nodepool instances disk size in GiB
Minimum value is
20, maximum value is51200.
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"
}