fbpx
GEThttps://api.spotinst.io/ocean/onPrem/k8s/cluster/{CLUSTER_ID}?accountId={ACCOUNT_ID}

Get the configurations for the specified Ocean On-Prem cluster entity.

URL Parameters

Parameter Type Description
ACCOUNT_ID * String

The Spotinst accountId associated with your token.

OCEAN_CLUSTER_ID * String

The Id of the Ocean On-Prem cluster to retrieve the configuration for.

Response - 200

Body
Copied!
Downloaded!
{
  "response": {
    "status":  { "code": 200, "message": "OK" },
    "kind": "spotinst:ocean:onprem:k8s",
    "items": [
      {
        "id": "o-c41b7d3f",
        "name": "ocean",
        "description": "Development",
        "controllerClusterIdentifier": "k8sCluster",
        "pricePerUnit":
            {
                "cpuHour": 0.015,
                "memoryHour": 0.002
            },
        "createdAt": "2018-11-26T09:49:23.000Z",
        "updatedAt": "2018-11-26T09:49:23.000Z"
      }
    ],
    "count": 1
  }
}