Ocean GKE

List Rolls

Get status for all rolls of an Ocean cluster.

get/ocean/gcp/k8s/cluster/{oceanId}/roll

Path parameters

oceanIdstring required

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": 2,
      "numOfBatches": 2,
      "comment": "This is why I deployed my cluster.",
      "progress": {
        "unit": "percentage",
        "detailedStatus": {
          "oldInstances": [
            {
              "instanceName": "sin-0a4becc0-sig-1234abcd",
              "status": "REPLACED"
            },
            {
              "instanceName": "sin-1a4becc0-sig-1234abcd",
              "status": "TO_BE_REPLACED"
            },
            {
              "instanceName": "sin-2a4becc0-sig-1234abcd",
              "status": "COULD_NOT_BE_REPLACED"
            },
            {
              "instanceName": "sin-3a4becc0-sig-1234abcd",
              "status": "NOT_REPLACED_DUE_TO_PDB"
            }
          ]
        }
      },
      "batchMinHealthyPercentage": 100,
      "oceanId": "o-30681b13",
      "respectPdb": true,
      "createdAt": "2019-03-24T15:46:09.000Z",
      "updatedAt": "2019-03-24T15:46:09.000Z"
    }
  ]
}