POSThttps://api.astronomer.io/platform/v1beta1/organizations/organizationId/clusters
Path Parameters
Body
View in API Reference
Request
$curl -X POST https://api.astronomer.io/platform/v1beta1/organizations/organizationId/clusters \
> -H "Authorization: Bearer " \
> -H "Content-Type: application/json" \
> -d '{
> "cloudProvider": "AZURE",
> "dbInstanceType": "Small General Purpose",
> "k8sTags": [
> {
> "key": "key1",
> "value": "value1"
> }
> ],
> "name": "My cluster",
> "nodePools": [
> {
> "isDefault": true,
> "maxNodeCount": 10,
> "name": "my-nodepool",
> "nodeInstanceType": "t3.medium"
> }
> ],
> "providerAccount": "provider-account",
> "region": "us-east-1",
> "type": "DEDICATED",
> "vpcSubnetRange": "172.20.0.0/22",
> "workspaceIds": [
> "workspaceIds"
> ]
>}'
Response