Create a cluster
Create a cluster in the Organization. An Astro cluster is a Kubernetes cluster that hosts the infrastructure required to run Deployments.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the Organization to create the cluster in.
Body
The request body for creating a cluster
- Option 1
- Option 2
- Option 3
The cluster's cloud provider.
AWS, AZURE, GCP "AZURE"
The cluster's name.
"My cluster"
The cluster's region.
"us-east-1"
The cluster's type.
DEDICATED, HYBRID "DEDICATED"
The VPC subnet range.
"172.20.0.0/22"
The type of database instance that is used for the cluster. Required for Hybrid clusters.
"Small General Purpose"
The secondary region for Disaster Recovery.
"us-west-2"
The secondary CIDR for the DR region. Defaults to the primary secondary CIDR if not specified. For AWS clusters only.
"100.64.0.0/19"
The VPC subnet range for the DR region. Defaults to the primary VPC subnet range if not specified.
"172.20.0.0/22"
Whether Bucket Storage Replication Time Control should be enabled for DR on task logs.
When true, enables Private Network Egress mode, which disables public Internet connectivity from the cluster's Deployments and metrics exports. For AWS clusters only.
The Kubernetes tags in the cluster.
The list of node pools to create in the cluster.
The provider account ID. Required for Hybrid clusters.
"provider-account"
The secondary VPC CIDR for pods. For AWS clusters only.
"100.64.0.0/16"
The list of Workspaces that are authorized to the cluster.
Response
OK
The name of the cluster's cloud provider.
AWS, AZURE, GCP "AWS"
The time when the cluster was created in UTC. formatted as YYYY-MM-DDTHH:MM:SSZ.
"2022-11-22T04:37:12Z"
The type of database instance that is used for the cluster.
"db.t3.medium"
The secondary region for Disaster Recovery for the cluster.
"us-east-1"
The cluster's ID.
"clm7k8tgw000008jz97i37y81"
Whether Disaster Recovery is enabled on the cluster
The cluster's name.
"my cluster"
The ID of the Organization that the cluster belongs to.
"clm88r8hi000008jwhzxu5crg"
The region in which the cluster is created.
"us-east-1"
The status of the cluster.
CREATING, CREATED, CREATE_FAILED, UPDATE_FAILED, UPDATING, ACCESS_DENIED, UPGRADE_PENDING, FAILING_OVER, FAILOVER_FAILED "CREATED"
The type of the cluster.
DEDICATED, HYBRID "DEDICATED"
The time when the cluster was last updated in UTC. formatted as YYYY-MM-DDTHH:MM:SSZ.
"2022-11-22T04:37:12Z"
The VPC subnet range.
"172.20.0.0/22"
The disaster recovery subnet range for Pods. For GCP clusters only.
"172.21.0.0/19"
The secondary CIDR for the DR region. For AWS clusters only.
The disaster recovery service peering range. For GCP clusters only.
"172.23.0.0/20"
The disaster recovery service subnet range. For GCP clusters only.
"172.22.0.0/22"
The VPC subnet range for the DR region.
Whether Bucket Storage Replication Time Control is enabled for DR.
Whether a failover is currently in progress.
Whether the cluster is currently failed over to the DR region.
Whether the cluster is limited.
false
Whether Private Network Egress mode is enabled, which disables public Internet connectivity from the cluster's Deployments and metrics exports. For AWS clusters only.
The list of node pools that are created in the cluster.
The subnet range for Pods. For GCP clusters only.
"172.21.0.0/19"
The provider account ID. For GCP clusters only.
"provider-account"
The secondary VPC CIDR. For AWS clusters only.
The service peering range. For GCP clusters only.
"172.23.0.0/20"
The service subnet range. For GCP clusters only.
"172.22.0.0/22"
The Kubernetes tags in the cluster. For AWS Hybrid clusters only.
The tenant ID. For Azure clusters only.
"your-tenant-id"
The list of Workspaces that are authorized to the cluster.