From a0d1476769b0fa4d7dae5f6871f46cf4ef26f3bb Mon Sep 17 00:00:00 2001 From: Antti Kervinen Date: Fri, 1 Nov 2024 15:45:33 +0200 Subject: [PATCH] helm: new balloons default configuration Introduce a default configuration where Guaranteed containers are all executed on dedicated CPUs while BestEffort and Burstable share CPUs in package (socket) level. Signed-off-by: Antti Kervinen --- deployment/helm/balloons/values.yaml | 35 +++++++++++++++++++--------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/deployment/helm/balloons/values.yaml b/deployment/helm/balloons/values.yaml index 922211ddd..1d74dd2bf 100644 --- a/deployment/helm/balloons/values.yaml +++ b/deployment/helm/balloons/values.yaml @@ -10,23 +10,36 @@ image: config: reservedResources: - cpu: 750m - idleCPUClass: normal + cpu: 1000m + allocatorTopologyBalancing: true + balloonTypes: - - name: default - namespaces: - - default - minCPUs: 1 - minBalloons: 0 - allocatorPriority: normal - shareIdleCPUsInSame: system + - name: dedicated-cpus + matchExpressions: + - key: qosclass + operator: In + values: + - Guaranteed + preferNewBalloons: true + preferSpreadingPods: true + + - name: shared-local-cpus + matchExpressions: + - key: qosclass + operator: In + values: + - BestEffort + - Burstable + shareIdleCPUsInSame: package + preferNewBalloons: true + maxBalloons: 2 + preferSpreadingPods: false + reservedPoolNamespaces: - kube-system log: source: true - klog: - skip_headers: true instrumentation: reportPeriod: 60s samplingRatePerMillion: 0