Spot · Example Payload

Spot Createoceanclusteraws Example

AutoscalingCloud InfrastructureContainersCost OptimizationFinOpsKubernetesSpot Instances

Spot Createoceanclusteraws Example is an example object payload from Spot, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createOceanClusterAWS",
  "method": "POST",
  "path": "/ocean/aws/k8s/cluster",
  "summary": "Spot Create Ocean Cluster (aws)",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "CreateoceanclusterawsRequestExample",
      "example": {
        "cluster": {
          "name": "Example Title",
          "controllerClusterId": "500123",
          "region": "example_value",
          "autoScaler": {
            "isEnabled": true,
            "isAutoConfig": true,
            "cooldown": 10,
            "resourceLimits": {
              "maxMemoryGib": 10,
              "maxVCpu": 10
            },
            "down": {
              "maxScaleDownPercentage": 10
            }
          },
          "capacity": {
            "target": 10,
            "minimum": 10,
            "maximum": 10
          },
          "strategy": {
            "spotPercentage": 10,
            "fallbackToOd": true,
            "utilizeReservedInstances": true,
            "utilizeCommitments": true
          },
          "compute": {
            "instanceTypes": {
              "whitelist": {},
              "blacklist": {}
            },
            "subnetIds": [
              {}
            ],
            "launchSpecification": {
              "imageId": "500123",
              "securityGroupIds": {},
              "keyPair": "example_value",
              "tags": {}
            }
          }
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Createoceanclusteraws200Example",
      "example": {
        "request": "example_value",
        "response": {
          "items": [
            {}
          ]
        }
      }
    }
  ]
}