Skip to content

Commit

Permalink
helm: new balloons default configuration
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
askervin authored and klihub committed Nov 2, 2024
1 parent 56c46c7 commit a0d1476
Showing 1 changed file with 24 additions and 11 deletions.
35 changes: 24 additions & 11 deletions deployment/helm/balloons/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0d1476

Please sign in to comment.