1
0
Fork 0

feat: add quoats

This commit is contained in:
Vojtěch Mareš 2022-09-05 21:27:08 +02:00
parent e7d20864a9
commit 4f0927c6bf
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
6 changed files with 86 additions and 0 deletions

View 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

View 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"