Skip to content

Commit f2dd45c

Browse files
authored
Update k8s-best-practices-requests-limits.adoc
1 parent 7fb03c2 commit f2dd45c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

modules/k8s-best-practices-requests-limits.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
= Requests/Limits
33

44
Kubernetes provides mechanisms for defining resource usage per container:
5-
* ***Requests:*** The guaranteed minimum amount of a resource (e.g., CPU, memory). Used by the scheduler.
6-
* Limits: The maximum amount a container is allowed to consume. Enforced by the kubelet.
7-
* Quotas: Enforce aggregate resource usage at the namespace/project level to prevent resource overuse.
5+
6+
***Requests:*** The guaranteed minimum amount of a resource (e.g., CPU, memory). Used by the scheduler.
7+
***Limits:*** The maximum amount a container is allowed to consume. Enforced by the kubelet.
8+
***Quotas:*** Enforce aggregate resource usage at the namespace/project level to prevent resource overuse.
89

910
See: OpenShift Resource Quotas Per Project
1011

11-
See link:https://docs.openshift.com/container-platform/latest/applications/quotas/quotas-setting-per-project.html[Resource quotas per project] for more information.
12+
See link:https://docs.openshift.com/container-platform/latest/applications/quotas/quotas-setting-per-project.html[OpenShift Resource Quotas per Project].
1213

1314
Nodes can be overcommitted which can affect the strategy of request/limit implementation. For example, when you need guaranteed capacity, use quotas to enforce. In a development environment, you can overcommit where a trade-off of guaranteed performance for capacity is acceptable. Overcommitment can be done on a project, node or cluster level.
1415

0 commit comments

Comments
 (0)