mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00: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:
parent
b30d7cb3dc
commit
a122ceb09b
3 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue