Add node pool
POST/backend/api/node-pool/
Host: https://core.ocplanet.cloud
Add node pool.
Request
- application/json
Body
- Array [
- ]
- Array [
- ]
autoscale booleanrequired
cluster uuidrequired
count integerrequired
flavor_id uuidrequired
is_default booleanrequired
labels object[]required
key stringrequired
values stringrequired
max_count integerrequired
name stringrequired
taints object[]required
key stringrequired
value stringrequired
effect NoSchedule | PreferNoSchedule | NoExecuterequired
Responses
- 200
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
- Array [
- ]
autoscale booleanrequired
cluster uuidrequired
count integerrequired
flavor stringrequired
is_default booleanrequired
labels object[]required
key stringrequired
values stringrequired
max_count integerrequired
name stringrequired
taints object[]required
key stringrequired
value stringrequired
effect NoSchedule | PreferNoSchedule | NoExecuterequired
{
"autoscale": true,
"cluster": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"count": 0,
"flavor": "string",
"is_default": true,
"labels": [
{
"key": "string",
"values": "string"
}
],
"max_count": 0,
"name": "string",
"taints": [
{
"key": "string",
"value": "string",
"effect": "string"
}
]
}
{
"id": "79eb5d15-943b-4163-a66d-f22950cb22b4",
"name": "cluster94466-2",
"flavor": "v1.m8",
"count": 1,
"autoscale": false,
"max_count": 3,
"is_default": false,
"labels": [
{
"key": "label-1",
"value": "lalallalala"
}
],
"taints": [
{
"key": "taint-1",
"value": "text",
"effect": "NoSchedule"
}
],
"cluster": "25ee99d3-d22e-4203-9517-202ad4c912ea"
}
Loading...