curl --request GET \
--url https://api.qovery.com/defaultClusterAdvancedSettings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qovery.com/defaultClusterAdvancedSettings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qovery.com/defaultClusterAdvancedSettings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qovery.com/defaultClusterAdvancedSettings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qovery.com/defaultClusterAdvancedSettings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qovery.com/defaultClusterAdvancedSettings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qovery.com/defaultClusterAdvancedSettings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"aws.cloudwatch.eks_logs_retention_days": 123,
"aws.cloudwatch.eks_logs_types": [
"api",
"audit",
"authenticator",
"controllerManager",
"scheduler"
],
"aws.vpc.enable_s3_flow_logs": true,
"aws.vpc.flow_logs_retention_days": 123,
"aws.vpc.enable_nat_gateway_secondary_eip": true,
"loki.log_retention_in_week": 123,
"loki.deployment_mode": "single_binary",
"loki.single_binary.cpu_request_m": 123,
"loki.single_binary.cpu_limit_m": 123,
"loki.single_binary.memory_request_mib": 123,
"loki.single_binary.memory_limit_mib": 123,
"loki.write.cpu_request_m": 123,
"loki.write.cpu_limit_m": 123,
"loki.write.memory_request_mib": 123,
"loki.write.memory_limit_mib": 123,
"loki.read.cpu_request_m": 123,
"loki.read.cpu_limit_m": 123,
"loki.read.memory_request_mib": 123,
"loki.read.memory_limit_mib": 123,
"loki.backend.cpu_request_m": 123,
"loki.backend.cpu_limit_m": 123,
"loki.backend.memory_request_mib": 123,
"loki.backend.memory_limit_mib": 123,
"registry.image_retention_time": 123,
"cloud_provider.container_registry.tags": {},
"aws.eks.enable_alb_controller": true,
"aws.eks.enable_efs_addon": false,
"aws.eks.efs.throughput_mode": "elastic",
"aws.eks.efs.performance_mode": "generalPurpose",
"aws.eks.efs.transition_to_ia": "AFTER_30_DAYS",
"load_balancer.size": "<string>",
"database.postgresql.deny_any_access": true,
"database.postgresql.allowed_cidrs": [
"<string>"
],
"database.mysql.deny_any_access": true,
"database.mysql.allowed_cidrs": [
"<string>"
],
"database.mongodb.deny_any_access": true,
"database.mongodb.allowed_cidrs": [
"<string>"
],
"database.redis.deny_any_access": true,
"database.redis.allowed_cidrs": [
"<string>"
],
"aws.iam.admin_group": "<string>",
"aws.eks.ec2.metadata_imds": "optional",
"aws.eks.ec2.ami": "AmazonLinux2023",
"aws.eks.karpenter.private_pool.cpu_manager_policy_static": false,
"pleco.resources_ttl": 123,
"registry.mirroring_mode": "Service",
"nginx.vcpu.request_in_milli_cpu": 123,
"nginx.vcpu.limit_in_milli_cpu": 123,
"nginx.memory.request_in_mib": 123,
"nginx.memory.limit_in_mib": 123,
"envoy.gateway_api.http_request_timeout_seconds": 1,
"envoy.gateway_api.http_connection_idle_timeout_seconds": 1,
"envoy.gateway_api.retry.num_retries": 1,
"envoy.gateway_api.retry.retry_on": "<string>",
"envoy.gateway_api.retry.http_status_codes": "<string>",
"envoy.gateway_api.retry.per_try_timeout_seconds": 2,
"nginx.hpa.cpu_utilization_percentage_threshold": 123,
"nginx.hpa.min_number_instances": 123,
"nginx.hpa.max_number_instances": 123,
"storageclass.fast_ssd": "<string>",
"qovery.static_ip_mode": true,
"k8s.api.allowed_public_access_cidrs": [
"<string>"
]
}List default cluster advanced settings
Default values for each setting are available in our documentation
curl --request GET \
--url https://api.qovery.com/defaultClusterAdvancedSettings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qovery.com/defaultClusterAdvancedSettings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qovery.com/defaultClusterAdvancedSettings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.qovery.com/defaultClusterAdvancedSettings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.qovery.com/defaultClusterAdvancedSettings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.qovery.com/defaultClusterAdvancedSettings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qovery.com/defaultClusterAdvancedSettings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"aws.cloudwatch.eks_logs_retention_days": 123,
"aws.cloudwatch.eks_logs_types": [
"api",
"audit",
"authenticator",
"controllerManager",
"scheduler"
],
"aws.vpc.enable_s3_flow_logs": true,
"aws.vpc.flow_logs_retention_days": 123,
"aws.vpc.enable_nat_gateway_secondary_eip": true,
"loki.log_retention_in_week": 123,
"loki.deployment_mode": "single_binary",
"loki.single_binary.cpu_request_m": 123,
"loki.single_binary.cpu_limit_m": 123,
"loki.single_binary.memory_request_mib": 123,
"loki.single_binary.memory_limit_mib": 123,
"loki.write.cpu_request_m": 123,
"loki.write.cpu_limit_m": 123,
"loki.write.memory_request_mib": 123,
"loki.write.memory_limit_mib": 123,
"loki.read.cpu_request_m": 123,
"loki.read.cpu_limit_m": 123,
"loki.read.memory_request_mib": 123,
"loki.read.memory_limit_mib": 123,
"loki.backend.cpu_request_m": 123,
"loki.backend.cpu_limit_m": 123,
"loki.backend.memory_request_mib": 123,
"loki.backend.memory_limit_mib": 123,
"registry.image_retention_time": 123,
"cloud_provider.container_registry.tags": {},
"aws.eks.enable_alb_controller": true,
"aws.eks.enable_efs_addon": false,
"aws.eks.efs.throughput_mode": "elastic",
"aws.eks.efs.performance_mode": "generalPurpose",
"aws.eks.efs.transition_to_ia": "AFTER_30_DAYS",
"load_balancer.size": "<string>",
"database.postgresql.deny_any_access": true,
"database.postgresql.allowed_cidrs": [
"<string>"
],
"database.mysql.deny_any_access": true,
"database.mysql.allowed_cidrs": [
"<string>"
],
"database.mongodb.deny_any_access": true,
"database.mongodb.allowed_cidrs": [
"<string>"
],
"database.redis.deny_any_access": true,
"database.redis.allowed_cidrs": [
"<string>"
],
"aws.iam.admin_group": "<string>",
"aws.eks.ec2.metadata_imds": "optional",
"aws.eks.ec2.ami": "AmazonLinux2023",
"aws.eks.karpenter.private_pool.cpu_manager_policy_static": false,
"pleco.resources_ttl": 123,
"registry.mirroring_mode": "Service",
"nginx.vcpu.request_in_milli_cpu": 123,
"nginx.vcpu.limit_in_milli_cpu": 123,
"nginx.memory.request_in_mib": 123,
"nginx.memory.limit_in_mib": 123,
"envoy.gateway_api.http_request_timeout_seconds": 1,
"envoy.gateway_api.http_connection_idle_timeout_seconds": 1,
"envoy.gateway_api.retry.num_retries": 1,
"envoy.gateway_api.retry.retry_on": "<string>",
"envoy.gateway_api.retry.http_status_codes": "<string>",
"envoy.gateway_api.retry.per_try_timeout_seconds": 2,
"nginx.hpa.cpu_utilization_percentage_threshold": 123,
"nginx.hpa.min_number_instances": 123,
"nginx.hpa.max_number_instances": 123,
"storageclass.fast_ssd": "<string>",
"qovery.static_ip_mode": true,
"k8s.api.allowed_public_access_cidrs": [
"<string>"
]
}Authorizations
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" '
Response
Default cluster advanced settings
Enable the AWS ALB controller to manage the load balancer for the cluster. Note: Changing this feature will create a 10 min max downtime on your application's public access (time to delete, replace and propagate DNS of the new load balancer) and will requiere to update all services with TCP/UDP open ports.
Lifecycle policy to transition files to Infrequent Access (IA) storage after the specified period. IA storage costs less but has a per-read charge. Empty string disables the policy.
AFTER_1_DAY, AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS, AFTER_90_DAYS, Specify the IMDS version you want to use:
required: IMDS V2 onlyoptional: IMDS V1 + V2
optional, required Select the AMI to use for EKS worker nodes (Karpenter only):
AmazonLinux2: Amazon Linux 2AmazonLinux2023: Amazon Linux 2023 (default)Bottlerocket: Bottlerocket OSami-xxxormy-custom-ami-*: A custom AMI ID or name pattern (assumes AL2023-based)al2:ami-xxx: A custom AMI based on Amazon Linux 2al2023:ami-xxx: A custom AMI based on Amazon Linux 2023bottlerocket:ami-xxx: A custom AMI based on Bottlerocket
Run the kubelet with cpuManagerPolicy: static on the private node pool (Karpenter only). Guaranteed pods with an integer CPU request get dedicated cores, so tools that size their worker count from the CPU affinity mask see the pod's CPUs instead of the whole host.
Only has an effect on clusters where Qovery has enabled the private node pool, with AL2023 or Bottlerocket nodes. Ignored otherwise. Changing it replaces every node of that pool.
Mirroring mode when deploying a service from a container registry
- Cluster: This is not available on Scaleway. Images within the mirroring registry are organized by "Qovery cluster", meaning that the application deployed on the same cluster are all mirrored on the same repository.
- Service: Images within the mirroring registry are organized by "Qovery service", each service has its own repository
- Disabled: Only available on Scaleway Kapsule. Images are not copied into the cluster registry: pods pull them directly from the service container registry, with its credentials. Registries with temporary credentials (AWS ECR, Azure, GCP Artifact Registry) are still mirrored. Images built by Qovery still go to the cluster registry.
Cluster, Service, Disabled Was this page helpful?