mirror of
https://github.com/kubesphere/website.git
synced 2025-12-31 19:12:49 +00:00
Update project-quotas.md
This commit is contained in:
parent
568767771e
commit
a416013fb6
|
|
@ -6,7 +6,7 @@ linkTitle: "Project Quotas"
|
|||
weight: 9600
|
||||
---
|
||||
|
||||
KubeSphere uses requests and limits to control resource (for example, CPU and memory) usage in a project, also known as [ResourceQuotas](https://kubernetes.io/docs/concepts/policy/resource-quotas/) in Kubernetes. Requests make sure a project can get the resources it needs as they are specifically guaranteed and reserved. On the contrary, limits ensure that a project can never use resources above a certain value.
|
||||
KubeSphere uses [Kubernetes requests and limits](https://kubesphere.io/blogs/understand-requests-and-limits-in-kubernetes/) to control resource (for example, CPU and memory) usage in a project, also known as [ResourceQuotas](https://kubernetes.io/docs/concepts/policy/resource-quotas/) in Kubernetes. Requests make sure a project can get the resources it needs as they are specifically guaranteed and reserved. On the contrary, limits ensure that a project can never use resources above a certain value.
|
||||
|
||||
Besides CPU and memory, you can also set resource quotas for other objects separately such as Pods, [Deployments](../../project-user-guide/application-workloads/deployments/), [Jobs](../../project-user-guide/application-workloads/jobs/), [Services](../../project-user-guide/application-workloads/services/) and [ConfigMaps](../../project-user-guide/configuration/configmaps/) in a project.
|
||||
|
||||
|
|
@ -28,7 +28,8 @@ If you use the account `project-admin` (an account of the `admin` role at the pr
|
|||
|
||||

|
||||
|
||||
2. In the dialog that appears, you can see that KubeSphere does not set any requests or limits for a project by default. To set requests and limits to control CPU and memory resources, use the slider to move to a desired value or enter numbers directly. Leaving a field blank means you do not set any requests or limits.
|
||||
2. In the dialog that appears, you can see that KubeSphere does not set any requests or limits for a project by default. To set
|
||||
limits to control CPU and memory resources, use the slider to move to a desired value or enter numbers directly. Leaving a field blank means you do not set any requests or limits.
|
||||
|
||||

|
||||
|
||||
|
|
@ -58,4 +59,4 @@ If you use the account `project-admin` (an account of the `admin` role at the pr
|
|||
|
||||
## See Also
|
||||
|
||||
[Container Limit Ranges](../../project-administration/container-limit-ranges/)
|
||||
[Container Limit Ranges](../../project-administration/container-limit-ranges/)
|
||||
|
|
|
|||
Loading…
Reference in New Issue