mirror of
https://github.com/fluxcd/flux2.git
synced 2025-10-28 23:14:48 +08:00
Set priority class to critical Flux components
Mark source-controller, kustomize-controller and helm-controller as system-cluster-critical. This will reduce the chances of Flux controllers being evicted before other non-critical workloads. Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
@ -4,3 +4,6 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/serviceAccountName
|
||||
value: helm-controller
|
||||
- op: add
|
||||
path: /spec/template/spec/priorityClassName
|
||||
value: system-cluster-critical
|
||||
|
||||
@ -4,3 +4,6 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/serviceAccountName
|
||||
value: kustomize-controller
|
||||
- op: add
|
||||
path: /spec/template/spec/priorityClassName
|
||||
value: system-cluster-critical
|
||||
|
||||
@ -4,3 +4,6 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/serviceAccountName
|
||||
value: source-controller
|
||||
- op: add
|
||||
path: /spec/template/spec/priorityClassName
|
||||
value: system-cluster-critical
|
||||
|
||||
Reference in New Issue
Block a user