Ocean AWS
Create Migration
Create a migration for a given existing instances.
post/ocean/aws/k8s/cluster/{oceanClusterId}/migration
Request
- Base URLhttps://api.spotinst.io
- URLhttps://api.spotinst.io/ocean/aws/k8s/cluster/{oceanClusterId}/migration
- AuthHTTP 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.