Ocean AWS

Import ASG To Ocean Virtual Node Group

Returns an Ocean Virtual Node Group (VNG) configuration in a given AWS autoscaling group (ASG). The returned value ("Imported VNG") can then be used as input to the Create Virtual Node Group API in order to create an actual VNG in your Ocean cluster.

post/ocean/aws/k8s/launchSpec/autoScalingGroup/import

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/ocean/aws/k8s/launchSpec/autoScalingGroup/import
  • Auth
    HTTP bearer

Parameters

#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)
#/paths/~1ocean~1gcp~1k8s~1launchSpec/get/parameters/1 (unresolved $ref)
#/paths/~1ocean~1aws~1k8s~1cluster~1autoScalingGroup~1import/post/parameters/1 (unresolved $ref)

Request body

Example request

{
  "launchSpec": {
    "name": "specialty.nodes.spotk8s.com",
    "labels": [
      {
        "key": "env",
        "value": "test"
      }
    ],
    "taints": [
      {
        "key": "taintKey",
        "value": "taintValue",
        "effect": "NoSchedule"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 12 revisions of this API.