{ "apiVersion": "v1", "kind": "ResourceQuota", "metadata": { "name": "quota" (1) }, "spec": { "hard": { "memory": "1Gi", (2) "cpu": "20", (3) "pods": "10", (4) "services": "5", (5) "replicationcontrollers":"5", (6) "resourcequotas":"1" (7) } } }
1 | The name of this quota document |
2 | The total amount of memory consumed across all containers may not exceed 1Gi. |
3 | The total number of cpu usage consumed across all containers may not exceed 20 Kubernetes compute units. |
4 | The total number of pods in the project |
5 | The total number of services in the project |
6 | The total number of replication controllers in the project |
7 | The total number of resource quota documents in the project |