Edit Default Container Quotas
This section explains how to edit default container quotas.
Default container quotas are the default values for resource request and resource limit for containers in the project. When creating containers in the project, if users do not specify resource request and limit, the containers will automatically use the default container quotas.
Default container quotas include two types of settings:
-
Resource Request: Resources reserved by the system for containers.
-
Resource Limit: The upper limit of resources that containers can use.
Prerequisites
You should join a project and have the Project Settings Management permission within the project. For more information, refer to "Project Members" and "Project Roles".
Steps
-
Log in to the KubeSphere web console with a user who has the Project Settings Management permission, and access your project.
-
Click Project Settings > Basic Information in the left navigation pane.
-
On the Basic Information page, click Manage, then select Edit Default Container Quotas from the dropdown list.
-
In the Edit Default Container Quotas dialog, set the default resource request and resource limit for containers, then click OK.
Parameter Description CPU Request
Reserved CPU resources for a container, measured in cores.
CPU Limit
Upper limit of CPU resources that a container is allowed to use, measured in cores.
Memory Request
Reserved memory resources for a container, measured in MiB.
Memory Limit
Upper limit of memory resources that a container is allowed to use, measured in MiB.
GPU Type
The GPU type that containers in the project can use. Currently, only NVIDIA GPU is supported.
GPU Limit
Upper limit on the number of GPUs that a container is allowed to use, measured in GPUs.
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere
Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.