Ocean GKE

Import GKE Cluster To Ocean

Returns an Ocean Cluster configuration, and optionally Virtual Node Group (VNG) configurations based on a given GKE Cluster and its Node Pools.
The returned values ("Imported Cluster/VNGs") can then be used as inputs to the Create Cluster/VNG APIs in order to create the respectful resources.

post/ocean/gcp/k8s/cluster/gke/import

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/ocean/gcp/k8s/cluster/gke/import
  • Auth
    HTTP bearer

Query parameters

locationstring required

Location GKE Cluster Master.

clusterNamestring required

Name of the GKE Cluster.

nodePoolNamestring

Name of the Node Pool to use as a default for the Cluster configuration.

includeLaunchSpecsboolean

When set to "true", GKE cluster node pools will be imported to Ocean custom VNG ("customLaunchSpec") configurations.

Parameters

#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)

Request body

Changes

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