Clusters
Create node pool inside a cluster.
Path Parameters
organisationSlugstring
Match
^[a-z0-9-_]+$
environmentSlugstring
Match
^[a-z0-9-_]+$
clusterSlugstring
Match
^[a-z0-9-_]+$
namestring
Match
^[a-zA-Z0-9\-\s&]*$
Length
1 <= length <= 25
nodeSize?string
Length
1 <= length <= 255
autoScaling?boolean
Default
false
enableNodeAutoReplacement?boolean
enableNodeReboots?boolean
Default
false
upgradeStrategy?string
Value in
"REPLACE" | "INPLACE" | "INPLACE_WITHOUT_DRAIN" | "REPLACE_MINOR_INPLACE_PATCH" | "REPLACE_MINOR_INPLACE_PATCH_WITHOUT_DRAIN"
minSize?integer
Default
0
Format
int64
maxSize?integer
Default
0
Format
int64
availabilityZone?string
Length
0 <= length <= 255
annotations?object
Empty Object
labels?object
Empty Object
taints?array<NodeTaint>
Response Body
curl -X POST "https://api.avisi.cloud/api/v1/orgs/string/clusters/string/string/pools" \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'
{
"id": 0,
"identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
"name": "string",
"availabilityZone": "string",
"nodeSize": "string",
"autoScaling": true,
"enableNodeAutoReplacement": true,
"enableNodeReboots": true,
"upgradeStrategy": "REPLACE",
"minSize": 0,
"maxSize": 0,
"annotations": {
"property1": "string",
"property2": "string"
},
"labels": {
"property1": "string",
"property2": "string"
},
"taints": [
{
"key": "string",
"value": "string",
"effect": "string"
}
],
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"provisionStatus": "UNKNOWN"
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}