ResourceQuota
ResourceQuota
1
2
3
4
5
6
7
8
9
10
11
12
kubectl create quota myrq --hard=cpu=1,memory=1G,pods=2 -o yaml --dry-run=client
apiVersion: v1
kind: ResourceQuota
metadata:
creationTimestamp: null
name: myrq
spec:
hard:
cpu: "1"
memory: 1G
pods: "2"
status: {}
This post is licensed under CC BY 4.0 by the author.
