Ocean AWS
Import EKS Cluster Node Group To Ocean Virtual Node Group
<ul> <li> Returns an Ocean Virtual Node Group (VNG) configuration based on a given AWS EKS Cluster Node Group. 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.</li> <li> Notes: <ul> <li> Make sure to have the necessary permissions in your Spot policy: <b>eks:ListNodegroups, eks:DescribeNodegroup</b>. <a href="https://docs.flexera.com/spot/administration/api/spot-policy-in-aws?id=spot-policy-in-aws">Click here for the full Spot policy.</a></li> <li> <b>Exactly one of region or oceanId must be supplied</b> as query parameters.</li> <ul> </li> <ul>post/ocean/aws/k8s/launchSpec/eksNodeGroup/import
Query parameters
eksClusterNamestring required
Cluster name of the EKS cluster.
eksNodeGroupNamestring required
Node group name to import.
regionstring
Region name of the EKS cluster's node group.
Parameters
#/paths/~1azure~1costs/get/parameters/0 — unresolved $ref
#/paths/~1ocean~1aws~1k8s~1launchSpec/get/parameters/1 — unresolved $ref
Request body
Example request
{
"launchSpec": {
"name": "specialty.nodes.spotk8s.com",
"labels": [
{
"key": "env",
"value": "test"
}
]
}
}