Skip to main content
POST
Add node group (browser session)

Authorizations

ankra_session
string
cookie
required

Browser session. Mutations also require X-Ankra-CSRF.

Headers

X-Ankra-CSRF
string
required

Must match the ankra_csrf browser cookie.

Path Parameters

cluster_id
string<uuid>
required

Body

application/json
instance_type
string
required
name
string
required
autoscaling
object | null
count
integer
default:1
Required range: 0 <= x <= 100
cpu_pool
string

Ankra Cloud CPU pool of the zone every server of the group is pinned to, scale-ups included, for example a pool of x86-64 level 3 for workloads that need AVX2. Omit it to let the Cloud place each server. Must be one of the zone's pools (GET /api/v1/clusters/ankracloud/{cluster_id}/cpu-pools).

Pattern: ^[a-z0-9]{1,16}-f[0-9]{1,4}-[0-9a-f]{10}$
disk_gibibytes
integer

Root disk size of every server of the group in GiB, scale-ups included. Omit it for the plan's included disk; Ankra Cloud refuses a size below the plan's and the template's minimum.

Required range: 1 <= x <= 4096
disk_tier
enum<string>

Storage tier of the root disk of every server of the group, scale-ups included. Omit it for the zone's default_storage_tier. local-nvme is the node's own disks; standard, maxiops and hdd are the zone's Ankra Storage (Ceph) tiers.

Available options:
local-nvme,
standard,
maxiops,
hdd
labels
object
taints
object[]

Response

Successful response

count
integer
required
group_name
string
required