mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-07 16:27:27 +00:00
Add ResourceQuota for critical pods
Fixes insufficient quota error on GKE Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
84d046ab2a
commit
2aa38baa35
2 changed files with 15 additions and 0 deletions
|
|
@ -5,3 +5,4 @@ resources:
|
|||
- reconciler.yaml
|
||||
- edit.yaml
|
||||
- view.yaml
|
||||
- resourcequota.yaml
|
||||
|
|
|
|||
14
manifests/rbac/resourcequota.yaml
Normal file
14
manifests/rbac/resourcequota.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
apiVersion: v1
|
||||
kind: ResourceQuota
|
||||
metadata:
|
||||
name: critical-pods
|
||||
spec:
|
||||
hard:
|
||||
pods: "1000"
|
||||
scopeSelector:
|
||||
matchExpressions:
|
||||
- operator: In
|
||||
scopeName: PriorityClass
|
||||
values:
|
||||
- system-node-critical
|
||||
- system-cluster-critical
|
||||
Loading…
Reference in a new issue