curl --request PUT \
--url https://api.qovery.com/organization/{organizationId}/cluster/{clusterId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"region": "<string>",
"cloud_provider": "AWS",
"description": "<string>",
"cloud_provider_credentials": {
"cloud_provider": "AWS",
"credentials": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"region": "<string>"
},
"min_running_nodes": 1,
"max_running_nodes": 1,
"disk_size": 50,
"instance_type": "T3A_LARGE",
"kubernetes": "MANAGED",
"production": true,
"ssh_keys": [
"<string>"
],
"features": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "<string>"
}
],
"metrics_parameters": {
"enabled": true,
"configuration": {
"kind": "MANAGED_BY_QOVERY",
"resource_profile": "LOW",
"cloud_watch_export_config": {
"enabled": true
},
"high_availability": true,
"internal_network_monitoring": {
"enabled": true
},
"alerting": {
"enabled": true,
"default_rule_labels": "<string>",
"spec_config_secret": "<string>",
"spec_external_url": "<string>",
"config_name": "<string>"
}
}
},
"infrastructure_charts_parameters": {
"nginx_parameters": {
"replica_count": 1,
"default_ssl_certificate": "<string>",
"publish_status_address": "<string>",
"annotation_metal_lb_load_balancer_ips": "<string>",
"annotation_external_dns_kubernetes_target": "<string>"
},
"cert_manager_parameters": {
"kubernetes_namespace": "<string>"
},
"metal_lb_parameters": {
"ip_address_pools": [
"<string>"
]
}
}
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"organization": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"name": "<string>",
"region": "<string>",
"cloud_provider": "AWS",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"min_running_nodes": 1,
"max_running_nodes": 1,
"disk_size": 50,
"instance_type": "T3A_LARGE",
"kubernetes": "MANAGED",
"cpu": 10000,
"memory": 4096,
"estimated_cloud_provider_cost": 123,
"status": "BUILDING",
"has_access": true,
"version": "<string>",
"is_default": true,
"is_demo": true,
"production": true,
"ssh_keys": [
"<string>"
],
"features": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"cost_per_month_in_cents": 9900,
"cost_per_month": 99,
"currency_code": "USD",
"is_cloud_provider_paying_feature": true,
"cloud_provider_feature_documentation": "https://cloud.provider.doc/feature",
"is_qovery_paying_feature": true,
"qovery_feature_documentation": "https://qovery.doc/feature",
"value_type": "BOOLEAN",
"value_object": {
"type": "STRING",
"value": "<string>"
},
"is_value_updatable": false,
"accepted_values": [
"<string>"
]
}
],
"deployment_status": "NEVER_DEPLOYED",
"metrics_parameters": {
"enabled": true,
"configuration": {
"kind": "MANAGED_BY_QOVERY",
"resource_profile": "LOW",
"cloud_watch_export_config": {
"enabled": true
},
"high_availability": true,
"internal_network_monitoring": {
"enabled": true
},
"alerting": {
"enabled": true,
"default_rule_labels": "<string>",
"spec_config_secret": "<string>",
"spec_external_url": "<string>",
"config_name": "<string>"
}
}
},
"infrastructure_outputs": {
"kind": "AKS",
"cluster_name": "<string>",
"cluster_oidc_issuer": "<string>"
},
"infrastructure_charts_parameters": {
"nginx_parameters": {
"replica_count": 1,
"default_ssl_certificate": "<string>",
"publish_status_address": "<string>",
"annotation_metal_lb_load_balancer_ips": "<string>",
"annotation_external_dns_kubernetes_target": "<string>"
},
"cert_manager_parameters": {
"kubernetes_namespace": "<string>"
},
"metal_lb_parameters": {
"ip_address_pools": [
"<string>"
]
}
}
}curl --request PUT \
--url https://api.qovery.com/organization/{organizationId}/cluster/{clusterId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"region": "<string>",
"cloud_provider": "AWS",
"description": "<string>",
"cloud_provider_credentials": {
"cloud_provider": "AWS",
"credentials": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"region": "<string>"
},
"min_running_nodes": 1,
"max_running_nodes": 1,
"disk_size": 50,
"instance_type": "T3A_LARGE",
"kubernetes": "MANAGED",
"production": true,
"ssh_keys": [
"<string>"
],
"features": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"value": "<string>"
}
],
"metrics_parameters": {
"enabled": true,
"configuration": {
"kind": "MANAGED_BY_QOVERY",
"resource_profile": "LOW",
"cloud_watch_export_config": {
"enabled": true
},
"high_availability": true,
"internal_network_monitoring": {
"enabled": true
},
"alerting": {
"enabled": true,
"default_rule_labels": "<string>",
"spec_config_secret": "<string>",
"spec_external_url": "<string>",
"config_name": "<string>"
}
}
},
"infrastructure_charts_parameters": {
"nginx_parameters": {
"replica_count": 1,
"default_ssl_certificate": "<string>",
"publish_status_address": "<string>",
"annotation_metal_lb_load_balancer_ips": "<string>",
"annotation_external_dns_kubernetes_target": "<string>"
},
"cert_manager_parameters": {
"kubernetes_namespace": "<string>"
},
"metal_lb_parameters": {
"ip_address_pools": [
"<string>"
]
}
}
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"organization": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"name": "<string>",
"region": "<string>",
"cloud_provider": "AWS",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"min_running_nodes": 1,
"max_running_nodes": 1,
"disk_size": 50,
"instance_type": "T3A_LARGE",
"kubernetes": "MANAGED",
"cpu": 10000,
"memory": 4096,
"estimated_cloud_provider_cost": 123,
"status": "BUILDING",
"has_access": true,
"version": "<string>",
"is_default": true,
"is_demo": true,
"production": true,
"ssh_keys": [
"<string>"
],
"features": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"cost_per_month_in_cents": 9900,
"cost_per_month": 99,
"currency_code": "USD",
"is_cloud_provider_paying_feature": true,
"cloud_provider_feature_documentation": "https://cloud.provider.doc/feature",
"is_qovery_paying_feature": true,
"qovery_feature_documentation": "https://qovery.doc/feature",
"value_type": "BOOLEAN",
"value_object": {
"type": "STRING",
"value": "<string>"
},
"is_value_updatable": false,
"accepted_values": [
"<string>"
]
}
],
"deployment_status": "NEVER_DEPLOYED",
"metrics_parameters": {
"enabled": true,
"configuration": {
"kind": "MANAGED_BY_QOVERY",
"resource_profile": "LOW",
"cloud_watch_export_config": {
"enabled": true
},
"high_availability": true,
"internal_network_monitoring": {
"enabled": true
},
"alerting": {
"enabled": true,
"default_rule_labels": "<string>",
"spec_config_secret": "<string>",
"spec_external_url": "<string>",
"config_name": "<string>"
}
}
},
"infrastructure_outputs": {
"kind": "AKS",
"cluster_name": "<string>",
"cluster_oidc_issuer": "<string>"
},
"infrastructure_charts_parameters": {
"nginx_parameters": {
"replica_count": 1,
"default_ssl_certificate": "<string>",
"publish_status_address": "<string>",
"annotation_metal_lb_load_balancer_ips": "<string>",
"annotation_external_dns_kubernetes_target": "<string>"
},
"cert_manager_parameters": {
"kubernetes_namespace": "<string>"
},
"metal_lb_parameters": {
"ip_address_pools": [
"<string>"
]
}
}
}JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '
Organization ID
Cluster ID
name is case-insensitive
AWS, SCW, GCP, DO, AZURE, OVH, CIVO, HETZNER, ORACLE, IBM, ON_PREMISE Show child attributes
Unit is in GB. The disk size to be used for the node configuration
50
the instance type to be used for this cluster. The list of values can be retrieved via the endpoint /{CloudProvider}/instanceType
"T3A_LARGE"
MANAGED, SELF_MANAGED, PARTIALLY_MANAGED specific flag to indicate that this cluster is a production one
Indicate your public ssh_key to remotely connect to your EC2 instance.
Show child attributes
Show child attributes
Show child attributes
Edited the cluster
Show child attributes
name is case-insensitive
AWS, SCW, GCP, DO, AZURE, OVH, CIVO, HETZNER, ORACLE, IBM, ON_PREMISE Unit is in GB. The disk size to be used for the node configuration
50
the instance type to be used for this cluster. The list of values can be retrieved via the endpoint /{CloudProvider}/instanceType
"T3A_LARGE"
MANAGED, SELF_MANAGED, PARTIALLY_MANAGED unit is millicores (m). 1000m = 1 cpu
10000
unit is MB. 1024 MB = 1GB
4096
This is an estimation of the cost this cluster will represent on your cloud proider bill, based on your current configuration
BUILDING, BUILD_ERROR, CANCELED, CANCELING, DELETED, DELETE_ERROR, DELETE_QUEUED, DELETING, DEPLOYED, DEPLOYING, DEPLOYMENT_ERROR, DEPLOYMENT_QUEUED, DRY_RUN, QUEUED, READY, STOPPED, STOPPING, STOP_ERROR, STOP_QUEUED, RESTART_QUEUED, RESTARTING, RESTARTED, RESTART_ERROR, INVALID_CREDENTIALS specific flag to indicate that this cluster is a demo one
specific flag to indicate that this cluster is a production one
Indicate your public ssh_key to remotely connect to your EC2 instance.
Show child attributes
NEVER_DEPLOYED, OUT_OF_DATE, UP_TO_DATE Show child attributes
Show child attributes
Show child attributes
Was this page helpful?