mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-23 20:08:51 +00:00
Set GOMAXPROCS and GOMEMLIMIT for bootstrap
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
205314e363
commit
26168b1241
7 changed files with 96 additions and 20 deletions
|
|
@ -7,3 +7,19 @@
|
|||
- op: add
|
||||
path: /spec/template/spec/priorityClassName
|
||||
value: system-cluster-critical
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: GOMAXPROCS
|
||||
valueFrom:
|
||||
resourceFieldRef:
|
||||
containerName: manager
|
||||
resource: limits.cpu
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/env/-
|
||||
value:
|
||||
name: GOMEMLIMIT
|
||||
valueFrom:
|
||||
resourceFieldRef:
|
||||
containerName: manager
|
||||
resource: limits.memory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue