mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-21 23:21:48 +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
|
- op: add
|
||||||
path: /spec/template/spec/serviceAccountName
|
path: /spec/template/spec/serviceAccountName
|
||||||
value: helm-controller
|
value: helm-controller
|
||||||
|
- op: add
|
||||||
|
path: /spec/template/spec/priorityClassName
|
||||||
|
value: system-cluster-critical
|
||||||
|
|
|
||||||
|
|
@ -4,3 +4,6 @@
|
||||||
- op: add
|
- op: add
|
||||||
path: /spec/template/spec/serviceAccountName
|
path: /spec/template/spec/serviceAccountName
|
||||||
value: kustomize-controller
|
value: kustomize-controller
|
||||||
|
- op: add
|
||||||
|
path: /spec/template/spec/priorityClassName
|
||||||
|
value: system-cluster-critical
|
||||||
|
|
|
||||||
|
|
@ -4,3 +4,6 @@
|
||||||
- op: add
|
- op: add
|
||||||
path: /spec/template/spec/serviceAccountName
|
path: /spec/template/spec/serviceAccountName
|
||||||
value: source-controller
|
value: source-controller
|
||||||
|
- op: add
|
||||||
|
path: /spec/template/spec/priorityClassName
|
||||||
|
value: system-cluster-critical
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue