mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-19 22:21:46 +00:00
Merge pull request #3879 from fluxcd/resourcequota
Add ResourceQuota for critical pods
This commit is contained in:
commit
cf5eb6a0bc
2 changed files with 15 additions and 0 deletions
|
|
@ -5,3 +5,4 @@ resources:
|
||||||
- reconciler.yaml
|
- reconciler.yaml
|
||||||
- edit.yaml
|
- edit.yaml
|
||||||
- view.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