This section describes how to edit project quotas.

Prerequisites

You need to join a project and have the Project Settings Management permission in the project. For more information, see Project Members and Project Roles.

Steps

  1. Log in to the KubeSphere web console with a user who has Project Settings Management permissions and enter your workspace.

  2. Click Project Management > Project Quotas in the left navigation pane.

  3. On the Project Quotas page, select a project from the drop-down list in the upper left corner, and click Operation > Edit Project Quotas.

  4. In the Edit Project Quota dialog box, set the project resource reservations and resource limits.

    Parameter Description

    CPU Reservation

    The maximum total CPU reservation for all containers in the project, in cores.

    CPU Limit

    The maximum total CPU limit for all containers in the project, in cores.

    Memory Reservation

    The maximum total memory reservation for all containers in the project, in GiB.

    Memory Limit

    The maximum total memory limit for all containers in the project, in GiB.

    GPU Type

    The type of GPU that containers in the project can use.

    GPU Limit

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

  5. In the Storage Resource Quota area of the Edit Project Quota dialog box, set the total storage resource and storage class-related resources.

  6. In the Application Resource Quota area of the Edit Project Quota dialog box, set the maximum number of application resources for the project, and then click OK.

    • Click Add to set the maximum number for multiple types of application resources.

    • You can set the maximum number of pods, Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, PersistentVolumeClaims, Services, Ingresses, Secrets, and ConfigMaps in the project.