project

Creates a cluster templates for the given project.

post/api/v2/projects/{project_id}/clustertemplates

Request

Path parameters

project_idstring required

Request body

namestring
scopestring

Example request

{
  "nodeDeployment": {
    "spec": {
      "template": {
        "cloud": {
          "aws": {
            "instanceType": "t2.micro",
            "volumeType": "gp2, io1, st1, sc1, standard"
          }
        }
      }
    }
  }
}

Response

ClusterTemplate

idstring
namestring
projectIDstring
scopestring
userstring

Example response

{
  "nodeDeployment": {
    "spec": {
      "template": {
        "cloud": {
          "aws": {
            "instanceType": "t2.micro",
            "volumeType": "gp2, io1, st1, sc1, standard"
          }
        }
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.