From eefb55e4f95af5cde1049153656fc6bc4db1b85b Mon Sep 17 00:00:00 2001 From: Guillaume Da Silva Date: Thu, 9 Jul 2026 12:15:31 +0200 Subject: [PATCH 1/3] document disabling the CPU limit via resources.override.limit.cpu_in_milli = -1 (QOV-2075) Cross-reference the new -1 sentinel from allow_service_cpu_overcommit. --- docs/configuration/cluster-advanced-settings.mdx | 2 +- docs/configuration/service-advanced-settings.mdx | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/configuration/cluster-advanced-settings.mdx b/docs/configuration/cluster-advanced-settings.mdx index f87d758f..91098992 100644 --- a/docs/configuration/cluster-advanced-settings.mdx +++ b/docs/configuration/cluster-advanced-settings.mdx @@ -1996,7 +1996,7 @@ Envoy Gateway automatically selects the best compression algorithm based on the CPU overcommit can cause CPU throttling and unpredictable latency when nodes are under pressure. Use with caution in production. -**Use Case:** Once enabled, you can update the service advanced setting `resources.override.limit.cpu_in_milli` to set a CPU limit higher than the request. +**Use Case:** Once enabled, you can update the service advanced setting `resources.override.limit.cpu_in_milli` to set a CPU limit higher than the request, or set it to `-1` to disable the CPU limit for that service entirely. **Default Value:** `false` diff --git a/docs/configuration/service-advanced-settings.mdx b/docs/configuration/service-advanced-settings.mdx index bfdd75a4..fdb43e3c 100644 --- a/docs/configuration/service-advanced-settings.mdx +++ b/docs/configuration/service-advanced-settings.mdx @@ -1485,9 +1485,15 @@ Setting `ndots=2` reduces this to **1 DNS query** since the hostname already has **Type:** `integer` -**Description:** Allows you to override the CPU limit for your service pods in millicores (1000m = 1 vCPU). +**Description:** Allows you to override the CPU limit for your service pods in millicores (1000m = 1 vCPU). Set to `-1` to disable the CPU limit entirely, so the container is not capped and can use all the CPU available on the node. -**Use Case:** Use this to fine-tune CPU allocation beyond the standard Qovery instance sizes. +**Use Case:** Use a positive value to fine-tune CPU allocation beyond the standard Qovery instance sizes, or use `-1` to remove CPU throttling for CPU-bound workloads that need to burst freely. + + +Setting a custom CPU limit (including `-1` to disable it) requires CPU overcommit to be enabled on the cluster via the `allow_service_cpu_overcommit` cluster advanced setting. This only affects the CPU limit; the RAM limit (`resources.override.limit.ram_in_mib`) remains mandatory and cannot be disabled, since it protects the pod from being OOMKilled. + + +**Valid values:** `-1` (disabled) or a positive integer greater than the service's CPU request **Default Value:** `null` From ec907357bcf7c84a33ff32429b361286bbd7e688 Mon Sep 17 00:00:00 2001 From: Guillaume Da Silva Date: Fri, 2 Oct 2026 16:59:13 +0200 Subject: [PATCH 2/3] docs(QOV-2075): a CPU limit equal to the request is valid --- docs/configuration/service-advanced-settings.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/service-advanced-settings.mdx b/docs/configuration/service-advanced-settings.mdx index fdb43e3c..f96d4ae9 100644 --- a/docs/configuration/service-advanced-settings.mdx +++ b/docs/configuration/service-advanced-settings.mdx @@ -1493,7 +1493,7 @@ Setting `ndots=2` reduces this to **1 DNS query** since the hostname already has Setting a custom CPU limit (including `-1` to disable it) requires CPU overcommit to be enabled on the cluster via the `allow_service_cpu_overcommit` cluster advanced setting. This only affects the CPU limit; the RAM limit (`resources.override.limit.ram_in_mib`) remains mandatory and cannot be disabled, since it protects the pod from being OOMKilled. -**Valid values:** `-1` (disabled) or a positive integer greater than the service's CPU request +**Valid values:** `-1` (disabled) or a positive integer greater than or equal to the service's CPU request **Default Value:** `null` From beed9c34b38e5ad198aa7295a7c8c86195bce6e4 Mon Sep 17 00:00:00 2001 From: Guillaume Da Silva Date: Fri, 2 Oct 2026 17:13:42 +0200 Subject: [PATCH 3/3] docs(QOV-2075): describe what the RAM limit actually does --- docs/configuration/service-advanced-settings.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/service-advanced-settings.mdx b/docs/configuration/service-advanced-settings.mdx index f96d4ae9..7d859da8 100644 --- a/docs/configuration/service-advanced-settings.mdx +++ b/docs/configuration/service-advanced-settings.mdx @@ -1490,7 +1490,7 @@ Setting `ndots=2` reduces this to **1 DNS query** since the hostname already has **Use Case:** Use a positive value to fine-tune CPU allocation beyond the standard Qovery instance sizes, or use `-1` to remove CPU throttling for CPU-bound workloads that need to burst freely. -Setting a custom CPU limit (including `-1` to disable it) requires CPU overcommit to be enabled on the cluster via the `allow_service_cpu_overcommit` cluster advanced setting. This only affects the CPU limit; the RAM limit (`resources.override.limit.ram_in_mib`) remains mandatory and cannot be disabled, since it protects the pod from being OOMKilled. +Setting a custom CPU limit (including `-1` to disable it) requires CPU overcommit to be enabled on the cluster via the `allow_service_cpu_overcommit` cluster advanced setting. This only affects the CPU limit; the RAM limit (`resources.override.limit.ram_in_mib`) remains mandatory and cannot be disabled: a container that exceeds it is OOMKilled, which keeps a single service from exhausting the memory of the node. **Valid values:** `-1` (disabled) or a positive integer greater than or equal to the service's CPU request