Merge pull request #4717 from hawwwdi/main

Set `GOMAXPROCS` and `GOMEMLIMIT` to all Flux controllers
pull/4723/head
Stefan Prodan 9 months ago committed by GitHub
commit e573800c1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

@ -4,3 +4,19 @@
- op: add
path: /spec/template/spec/serviceAccountName
value: image-automation-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

@ -4,3 +4,19 @@
- op: add
path: /spec/template/spec/serviceAccountName
value: image-reflector-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

@ -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

@ -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

@ -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…
Cancel
Save