mirror of
https://github.com/fluxcd/flux2.git
synced 2025-11-02 18:58:33 +08:00
Merge pull request #3879 from fluxcd/resourcequota
Add ResourceQuota for critical pods
This commit is contained in:
@ -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
|
||||||
Reference in New Issue
Block a user