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

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

  2. Click Project Settings > Basic Information in the left navigation pane.

  3. On the Basic Information page, click Manage, then select Edit Default Container Quotas from the dropdown list.

  4. In the Edit Default Container Quotas dialog, set the default resource request and resource limit for containers, then click OK.

    ParameterDescription

    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.