infra-docs-fpo/modules/sysadmin_guide/pages/sop_communishift_tenant_quota.adoc
David Kirwan c0d6947dba
ocp4 sops moved into sysadmin_guide
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-07-22 10:37:01 +01:00

26 lines
758 B
Text

= Configure the tenant ResourceQuota
== Resources
- [1] ResourceQuota Openshift Docs: https://docs.openshift.com/container-platform/4.11/applications/quotas/quotas-setting-per-project.html
=== Config
The ResourceQuota is contained within the tenants namespace and is named like `communishift-project-name-quota`.
By default the following quota is assigned:
----
spec:
hard:
cpu: "1" # requests.cpu
memory: "1Gi" # requests.memory
limits.cpu: "1"
limits.memory: "2Gi"
requests.storage: "5Gi"
persistentvolumeclaims: "1"
pods: "2"
replicationcontrollers: 1
----
This object can be modified in order to increase or restrict resources available to tenants after the fact. Refer to the official docs for instructions [1].