feat: add quoats
This commit is contained in:
parent
e7d20864a9
commit
4f0927c6bf
6 changed files with 86 additions and 0 deletions
10
quotas/staging/compute-resources.yml
Normal file
10
quotas/staging/compute-resources.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
apiVersion: v1
|
||||
kind: ResourceQuota
|
||||
metadata:
|
||||
name: compute-resources
|
||||
spec:
|
||||
hard:
|
||||
requests.cpu: 800m
|
||||
requests.memory: 1536Mi
|
||||
limits.cpu: 1200m
|
||||
limits.memory: 2048Mi
|
||||
15
quotas/staging/kube-objects.yml
Normal file
15
quotas/staging/kube-objects.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
apiVersion: v1
|
||||
kind: ResourceQuota
|
||||
metadata:
|
||||
name: kube-objects
|
||||
spec:
|
||||
hard:
|
||||
services.loadbalancers: "0"
|
||||
|
||||
count/deployments.apps: "5"
|
||||
count/statefulsets.apps: "0"
|
||||
count/cronjobs.batch: "0"
|
||||
count/jobs.batch: "5"
|
||||
count/pods: "20"
|
||||
|
||||
count/persistentvolumeclaims: "1"
|
||||
Reference in a new issue