Skip to content

Commit

Permalink
Merge pull request #3879 from fluxcd/resourcequota
Browse files Browse the repository at this point in the history
Add ResourceQuota for critical pods
  • Loading branch information
stefanprodan authored May 12, 2023
2 parents 84d046a + 2aa38ba commit cf5eb6a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ resources:
- reconciler.yaml
- edit.yaml
- view.yaml
- resourcequota.yaml
14 changes: 14 additions & 0 deletions manifests/rbac/resourcequota.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cf5eb6a

Please sign in to comment.