Ocean AWS

Create Migration

Create a migration for a given existing instances.

post/ocean/aws/k8s/cluster/{oceanClusterId}/migration

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/ocean/aws/k8s/cluster/{oceanClusterId}/migration
  • Auth
    HTTP bearer

Parameters

#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)
#/paths/~1ocean~1aws~1ecs~1cluster~1%7BoceanClusterId%7D/get/parameters/1 (unresolved $ref)

Request body

Example request

{
  "migration": {
    "instanceIds": [
      "i-a12345",
      "i-b12345"
    ],
    "shouldTerminateDrainedNodes": true,
    "shouldEvictStandAlonePods": true,
    "forcePodEvictionOnPdbFailure": true,
    "batchSizePercentage": 50
  }
}

Changes

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