< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Edit Project Quotas

This section explains how to edit project quotas.

Project quotas include the following settings:

  • Resource Request: Container resource request is the system’s reserved resources for a single container, and project resource request is the maximum value of the sum of all container resource requests in the project. KubeSphere currently supports setting CPU request and memory request for the project.

  • Resource Limit: Container resource limit is the upper limit of resources that a single container can use, and project resource limit is the maximum value of the sum of all container resource limits in the project. KubeSphere currently supports setting CPU limit, memory limit, and GPU limit for the project.

  • Storage Resource Quota: Limitations on the total amount of storage resources in the project, including the total amount of storage resources and associated resources with storage classes.

  • Application Resource Quota: Upper limits on the quantity of Pods, Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, Persistent Volume Claims, Services, Ingresses, Secrets, and ConfigMaps that can be created in the project.

Prerequisites

You should join a workspace and have the Project Management permission within the workspace. For more information, refer to "Workspace Members" and "Workspace Roles".

Steps

  1. Log in to the KubeSphere web console with a user who has the Project Management permission, and access your workspace.

  2. Click Projects in the left navigation pane.

  3. Click more on the right side of the project you want to edit, then select Edit Quotas from the dropdown list.

  4. In the Edit Project Quotas dialog, set the project resource request and resource limit.

    Parameter Description

    CPU Request

    The maximum value of the sum of all container CPU requests in the project, measured in cores.

    CPU Limit

    The maximum value of the sum of all container CPU limits in the project, measured in cores.

    Memory Request

    The maximum value of the sum of all container memory requests in the project, measured in GiB.

    Memory Limit

    The maximum value of the sum of all container memory limits in the project, measured in GiB.

    GPU Type

    The GPU type that containers in the project can use. Currently, only NVIDIA GPU is supported.

    GPU Limit

    The maximum number of GPUs that all containers in the project can use, measured in GPUs.

  5. In the Storage Resource Quota section of the Edit Project Quotas dialog, set the total storage resource quota and associated resource quota with storage classes.

  6. In the Application Resource Quotas section of the Edit Project Quotas dialog, set the upper limits on the quantity of application resources in the project, then click OK.

    • You can set upper limits on the quantity of Pods, Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, Persistent Volume Claims, Services, Ingresses, Secrets, and ConfigMaps in the project.

    • Click Add to set upper limits on the quantity of more application resources.

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.

What’s on this Page