Create quota-mem-cpu.yaml

This commit is contained in:
AdamDang 2018-11-19 20:18:18 +08:00 committed by GitHub
parent 930d838898
commit dc9e3d93b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
apiVersion: v1
kind: ResourceQuota
metadata:
name: mem-cpu-demo
spec:
hard:
requests.cpu: "1"
requests.memory: 1Gi
limits.cpu: "2"
limits.memory: 2Gi