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:
@@ -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
|
||||
Reference in New Issue
Block a user