mirror of https://github.com/fluxcd/flux2.git
Merge pull request #4717 from hawwwdi/main
Set `GOMAXPROCS` and `GOMEMLIMIT` to all Flux controllerspull/4723/head
commit
e573800c1b
@ -1,3 +1,19 @@
|
|||||||
- op: add
|
- op: add
|
||||||
path: /spec/template/spec/serviceAccountName
|
path: /spec/template/spec/serviceAccountName
|
||||||
value: notification-controller
|
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