mirror of https://github.com/fluxcd/flux2.git
Set `GOMAXPROCS` and `GOMEMLIMIT` for bootstrap
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>pull/4717/head
parent
205314e363
commit
26168b1241
@ -1,3 +1,19 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/serviceAccountName
|
||||
value: notification-controller
|
||||
- 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…
Reference in New Issue