Ocean AWS

List Rolls

Get status for all rolls of an Ocean cluster.

get/ocean/aws/k8s/cluster/{oceanClusterId}/roll

Path parameters

oceanClusterIdstring required

The identifier of the Ocean cluster

Parameters

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

Response

Ocean Get List Of Rolls Response

kindstring

Example response

{
  "status": {
    "code": 200,
    "message": "OK"
  },
  "kind": "spotinst:ocean:aws:k8s:cluster:roll",
  "items": [
    {
      "id": "scr-5aaf854e",
      "scope": "Cluster",
      "status": "IN_PROGRESS",
      "currentBatch": 1,
      "numOfBatches": 5,
      "comment": "This is why I deployed my cluster.",
      "progress": {
        "unit": "percentage",
        "detailedStatus": {
          "oldInstances": [
            {
              "instanceId": "i-003a0281a24c01a20",
              "status": "REPLACED"
            },
            {
              "instanceId": "i-003a0281a24c01a21",
              "status": "TO_BE_REPLACED"
            },
            {
              "instanceId": "i-003a0281a24c01a22",
              "status": "COULD_NOT_BE_REPLACED"
            },
            {
              "instanceId": "i-003a0281a24c01a23",
              "status": "NOT_REPLACED_DUE_TO_PDB"
            }
          ]
        }
      },
      "oceanId": "o-12e31234",
      "instanceIds": [
        "i-0003a99ffb566f039",
        "i-0567a99ffb566f765"
      ],
      "launchSpecIds": [
        "ols-76694a7d",
        "ols-56694a76"
      ],
      "respectPdb": true,
      "batchMinHealthyPercentage": 100,
      "reportPartialCompletion": true,
      "createdAt": "2019-03-24T15:46:09.000Z",
      "updatedAt": "2019-03-24T15:46:09.000Z"
    }
  ]
}