Create a cluster

POST

Create a cluster in the Organization. An Astro cluster is a Kubernetes cluster that hosts the infrastructure required to run Deployments.

Path parameters

organizationIdstringRequired

The ID of the Organization to create the cluster in.

Request

This endpoint expects an object.
Create AWS Cluster Requestobject
OR
Create Azure Cluster Requestobject
OR
Create GCP Cluster Requestobject

Response

OK

cloudProviderenum
Allowed values: AWSAZUREGCP

The name of the cluster’s cloud provider.

createdAtdatetime

The time when the cluster was created in UTC. formatted as YYYY-MM-DDTHH:MM:SSZ.

dbInstanceTypestring

The type of database instance that is used for the cluster.

idstring

The cluster’s ID.

namestring

The cluster’s name.

organizationIdstring

The ID of the Organization that the cluster belongs to.

regionstring

The region in which the cluster is created.

statusenum

The status of the cluster.

typeenum
Allowed values: DEDICATEDHYBRID

The type of the cluster.

updatedAtdatetime

The time when the cluster was last updated in UTC. formatted as YYYY-MM-DDTHH:MM:SSZ.

vpcSubnetRangestring

The VPC subnet range.

healthStatusobjectOptional
isLimitedbooleanOptional

Whether the cluster is limited.

metadataobjectOptional
nodePoolslist of objectsOptional

The list of node pools that are created in the cluster.

podSubnetRangestringOptional

The subnet range for Pods. For GCP clusters only.

providerAccountstringOptional

The provider account ID. For GCP clusters only.

servicePeeringRangestringOptional

The service peering range. For GCP clusters only.

serviceSubnetRangestringOptional

The service subnet range. For GCP clusters only.

tagslist of objectsOptional

The Kubernetes tags in the cluster. For AWS Hybrid clusters only.

tenantIdstringOptional

The tenant ID. For Azure clusters only.

workspaceIdslist of stringsOptional

The list of Workspaces that are authorized to the cluster.

Built with