latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

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

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"
      }
    ]
  }
}