From e37dea7269574e08b5ee36a5c2f569828924a1f7 Mon Sep 17 00:00:00 2001 From: HardMax71 Date: Thu, 22 Oct 2026 13:48:38 +0200 Subject: [PATCH] docs: a pod over the namespace quota fails its execution; pod_creation_failed no longer exists #428 removed the event, and the security policies page still named it. --- docs/security/policies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/security/policies.md b/docs/security/policies.md index d1af46d4..b501318b 100644 --- a/docs/security/policies.md +++ b/docs/security/policies.md @@ -49,7 +49,7 @@ The worker reaches the cluster with k3s's own kubeconfig, mounted read-only from ## Quota -The `executor-quota` ResourceQuota caps the total CPU and memory that pods in the namespace request, not what they use: a default pod requests 200m CPU but may use up to its 1000m limit. The worker applies it with `requests.cpu` from `K8S_NAMESPACE_CPU_QUOTA` (32) and `requests.memory` from `K8S_NAMESPACE_MEMORY_QUOTA` (4Gi). The API server refuses a pod that would go over it with `403 Forbidden`, and the worker publishes `pod_creation_failed` for its execution. +The `executor-quota` ResourceQuota caps the total CPU and memory that pods in the namespace request, not what they use: a default pod requests 200m CPU but may use up to its 1000m limit. The worker applies it with `requests.cpu` from `K8S_NAMESPACE_CPU_QUOTA` (32) and `requests.memory` from `K8S_NAMESPACE_MEMORY_QUOTA` (4Gi). The API server refuses a pod that would go over it with `403 Forbidden`, and the execution scheduler stores that execution as `failed` with error type `system_error`. How many executions run at once is decided by the execution scheduler's queue (`max_concurrent_executions`, 10 by default). Every pod requests 200m CPU and 128Mi, Go's included, since Go raises only its limits, so 10 executions request 2 CPU and 1.25Gi. The memory quota fills at 32 pods, which makes it a backstop that refuses pods only when the admin settings allow more than that at once.