Container Limit Ranges
When you create a workload, such as a Deployment, you configure resource requests and limits for the container. To make these request and limit fields pre-populated with values, you can set default limit ranges.
This tutorial demonstrates how to set default limit ranges for containers in a project.
You have an available workspace, a project and an account (). The account must have the role at the project level. For more information, see Create Workspaces, Projects, Accounts and Roles.
Log in to the console as and go to a project. On the Overview page, you can see default limit ranges remain unset if the project is newly created. Click Set to configure limit ranges.
In the dialog that appears, you can see that KubeSphere does not set any requests or limits by default. To set requests and limits to control CPU and memory resources, use the slider to move to a desired value or input numbers directly. Leaving a field blank means you do not set any requests or limits.
Note
The limit can never be lower than the request.
Go to Basic Info in Project Settings, and you can see default limit ranges for containers in a project.
To change default limit ranges, click Manage Project on the Basic Info page and select Edit Resource Default Request.
When you create a workload, requests and limits of the container will be pre-populated with values.
Note
For more information, see Resource Request in .