Ocean AKS

Launch New Nodes

Launch new nodes for a cluster.

put/ocean/azure/np/cluster/launchNewNodes

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/ocean/azure/np/cluster/launchNewNodes
  • Auth
    HTTP bearer

Parameters

#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)

Request body

oceanIdstring required

Ocean cluster identifier.

vngIdsstring[]
preferredLifecycle'Spot' | 'Regular'

The preferred life cycle to launch the node. If not specified, the life cycle is chosen accoring to the scaled VNG.

availabilityZonesstring[]

An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.

adjustmentinteger required

The number of nodes to launch.

minCoresPerNodeinteger

Minimum number of core per node.

minMemoryGiBPerNodenumber float

Minimum memory per node.

applicableVmSizesstring[]

Example request

{
  "oceanId": "o-134abcd",
  "vngIds": [
    "vng-12345abc"
  ],
  "preferredLifecycle": "Spot",
  "availabilityZones": [
    "1",
    "2",
    "3"
  ],
  "adjustment": 2,
  "minCoresPerNode": 2,
  "minMemoryGiBPerNode": 2
}

Changes

No recorded changes to this operation across all 12 revisions of this API.