mirror of
				https://github.com/fluxcd/flux2.git
				synced 2025-10-31 08:17:19 +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 | - 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 | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Stefan Prodan
					Stefan Prodan