fbpx
GEThttps://api.spotinst.io/ocean/aws/k8s/cluster/{OCEAN_CLUSTER_ID}/roll/{ROLL_ID}?accountId={ACCOUNT_ID}

Get status for roll of an Ocean cluster.

URL Parameters

Parameter Type Description
OCEAN_CLUSTER_ID * String

The Ocean cluster to roll.

Example: o-12345678
ROLL_ID * String

The Ocean cluster roll ID

Example: scr-12345678
ACCOUNT_ID * String

Your Spotinst accountId associated with your token.

Response - 200

Body
Copied!
Downloaded!
{
  "id": "scr-12345678",
  "status": "STOPPED",
  "currentBatch": 3,
  "numOfBatches": 5,
  "comment" : "This is why I deployed my cluster.",
  "progress": {
    "unit": "percentage",
    "value": 40
  },
  "oceanId": "o-12345678",
  "createdAt": "2019-03-24T15:50:09.000Z",
  "updatedAt": "2019-03-24T15:46:09.000Z"
}