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:
Stefan Prodan
2023-04-16 11:57:27 +03:00
parent b30d7cb3dc
commit a122ceb09b
3 changed files with 9 additions and 0 deletions

View File

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

View File

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

View File

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